Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5 application not release memory
Message
From
13/09/2001 02:56:28
 
 
To
12/09/2001 21:50:28
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00555431
Message ID:
00555804
Views:
14
Hi!

Try to locate the exact place in application that cause memory leak. Command line or a set of command lines. To do it, make a backup of that application and then experiment with it - cut out some parts of the application. When application stop to garbage the memory, the last part you removed cause memory leak. Then examine that part to find the exact location of the problem.


>Hi,
>
>Thank for the advise on using the sys(1104). It does not help.
>I am not using ADO in my application, just normal processing of
>file. My application just load some big file to process and close
>it, but the application don't seem to release the memory. Please advise
>me on other way to solve this problem. Thank you
>
>
>
>
>>Hi!
>>
>>Try to use sys(1104) undocumented function that free some unused memory, but I do not think it will help much. Do you use ADO in your application?
>>
>>>Hi,
>>>
>>>My application only just do some processing of dbf files
>>>by unzipping and zipping. This application will be running
>>>24 hours 7 days. On my customer side running win9x, after
>>>some days, it only give this error message 'illegal operation...'
>>>
>>>When I monitor it on WinNT using the task manager, it seem like
>>>after the processing of data file of file size like 26M Kbytes,
>>>the memory usage of this program increase. Therefore, I suspect
>>>this memory problem is causing my program 'illegal operation...'
>>>
>>>I had look through my code of releasing array and other. Is there
>>>any other advise for me to solve this problem. Thank you
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