Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Usage
Message
From
08/06/2001 06:39:12
 
 
To
07/06/2001 18:48:07
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00516099
Message ID:
00516798
Views:
14
Hi!

Ok, now some more questions to start to tune the problem (if you really want to figure it out). This may take a time, though.

Do you used ADO recordsets?
Do you use ActiveX components?
Did you tried to run that process in continuous loop? I still recommend you to do this.

Finally, the most universal but messy approach is to remove bits from the process until it stop grasping the memory. The last bit removed contains the problem. Than do the same for commands in that part that cause memory leak. You will find that way a command or commands (or controls) that cause the problem.

HTH.

>>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.
>
>
>
>Vlad,
>
>We tried SYS(1104) already it only released about 100k of ram.
>
>When you first load the program it is 10 MB in use, open the form once
>and it rises to 18MB. Close the form it goes down to 15MB, open the form again it goes up to 22MB, close it and it goes down to 20MB, open it goes up to 28MB,
>etc etc.
>
>So we dont really know what it is.
>
>Chris
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
Reply
Map
View

Click here to load this message in the networking platform