Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory usage - how to optimize ? how does it work ?
Message
From
18/11/2004 12:21:51
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00962658
Message ID:
00962716
Views:
7
Sounds proper to me.

You want any application to use (basically, within some constraints) as much RAM as it needs, and in the case of VFP and most other database apps. sotrage is heavily used for buffering data tables.

The main reason that RAM use increases when a window is opened is to give the program the fastest possiboe response time, on the basis that a user has the window open anticipating to do something in it. When a window is closed or minimized then a user cannot possibly be 'using' it directly so preference is given to the window that now has the focus.

Unless you're having a specific performance problem I don't think tampering is going to do much for you, unless of course it's for "educational" purposes.

cheers


>I have some applications (mypgm.exe build with vfp8) that start from a 20MB memory usage up to 80MB sometime. The memory usage increase when the user open a window, go down when the user close a window. It increase a lot when some reports are running.
>Isn't big, 80MBs ? Is there something to work on ? Any reading to do about that ? Thanks for any help.
>
>Eric
Previous
Reply
Map
View

Click here to load this message in the networking platform