Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Usage
Message
From
07/06/2001 10:45:34
 
 
To
06/06/2001 20:01:56
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00516099
Message ID:
00516339
Views:
12
Hi!

Take a look to the description of the sys(1104) function at the MS site and fox.wikis.com site. This function purges unused buffers in VFP memory. You can call it after running of each form and that can help, I guess.

Real memory leak should be tested in continuous use of something, not just by a single use. For example, open your form and close in a loop with 10000 steps. If you do not notice increase of memory in process of such loop, all is ok.

>Hi Everybody,
>
>We have an application that seems to have a memory leak,
>after using the application, opening forms, adding records etc.
>it slows down and Win2000 task manager reports that it is using
>loads (>20MB) of ram.
>
>When the program first starts up it is using maybe 10 or 11 MB,
>but then when we open a form that retrieves data to fill drop down
>lists with, it increases by approx. 3-5MB, and then you close the form
>and it only releases 1-2MB. All cursors are being closed after use.
>
>We have noticed that if you minimize the application it frees all of
>the ram and goes back down to 3-5MB in use. And when it gets maximized
>again, it will go back to about 10MB.
>
>Does anybody have any ideas on what this could be?
>
>
>Thanks
>
>Chris Ormerod
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform