Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing my memory
Message
From
10/09/2002 12:37:51
 
 
To
10/09/2002 10:07:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00698176
Message ID:
00698866
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
Clear DLLs?

>Hi Peter
>
>iro sample code. I have a dll which I am calling to decompress some char type data. Each time the dll function is called the VFP memory goes up a little - perhaps 5kb or so. This continues throughout the day and slowly the VFP memory usage as reported by taskman goes up.
>
>However, if I minimize the vfp app then the memory usage drops right back down and the *available physical memory* as reported by taskman shows a corresponding increase. This fact implies to me that it cannot be a "plain" memory leak in the dll since then the memory would be really gone and could not be simply returned to the OS by doing a minimize on the vfp app itself - or could it? I am not a expert on this at all.
>
>Anyway, my collegue is sure the dll is memory ok but he is checking again. Is there a way to unload a dll in VFP i.e. the opposite of a DECLARE?
>
>Jos
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform