>Hi everybody,
>
>I found very strange behavior using FoxPro in
>combination with a DLL built in JAVA.
>
>When we startup our FoxPro application - a Front Office app -
>we fire all kinds of requests using this DLL. At this
>point the JAVA environment gets loaded into memory, taking
>the memory footprint up to 60 megabytes.
>
>Now the interesting part...
>
>If I minimize our fox app, than maximize it, the memory footprint
>returns to a - for our customer - acceptable level of 30 megabytes.
>
>Does anybody know what is going on here, is it a Windows bug?
>I am using Windows 2000 Prof. sp3. I tried multiple machines, all experiencing
>the same problem.
>
Erwin, I have seen this before and it was always a memory leak in the external DLL we were using.
You can limit VFP memory usage using SYS(3050) and clear VFP cached buffers using SYS(1104). VFP itself is very stable in memory usage and has no known memory leaks.
Most windows app's will release a chunk of memory when you minimize them. For instance, minimize your browser and see the drop in memory usage. This in itself is not significant.
HTH
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.