Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is EXE size important ?
Message
From
08/12/2001 22:18:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00590427
Message ID:
00591776
Views:
30
>It seems that each instance of my VFP application take less then 10MB RAM at start. It is almost independent of exe size (I tested sizes between 5-35MB).
>Use of memory grows when (after app starting) user runs my app forms.
>So it seems that successively creating objects while application is running may have greater influence on memory consumption than exe size.

I think good parts of the exe size come from the included files (vcxes and such), and their memo bloat (specially vcxes). A significant chunk of that is just dead blocks which never get used.

Memory use would rather be influenced by number and size of buffers, number of variables and, among them, specially objects. One good thing here is that OOP brought the good habit of not using public variables - easier to track, and you don't have a zillion of them taking up memory while your exe runs. Besides, I think keeping them as object properties gets us some speed - the table of names is split into few shorter ones (i.e. one per object and per contained object) so VFP should probably find one property value faster than one variable in a list of 500.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform