>Download the Process Explorer tool. Copy the following code to a PRG and then open the prg in VFP. Start Process Explorer and select your VFP process. Open the "Performance" tab and notice the allocated "Private Bytes" and the current number of "Page Faults". Now start to run the PRG. If, you have your "Paging file size" set to custom (Mine came defaulted to 768 MB initial and 1536 MB max) you will start seeing TONS of page faults that will over the space of a few minutes begin to drive up memory usage. Your memory usage will continue to climb until the process becomes unresponsive! When I set my "Paging file size" to "System Managed" the problem almost went away. It seems like some sort of memory fragmentation issue possably.
>
>What do you think?
I'm seeing the page faults but memory is pretty stable (in Process Explorer it will go up for a bit, then drop back down - never above 60MB starting at around 37MB). In the DBF it blipped up and down maybe 20-30 bytes. My page file is set to a custom size.
I'm also running VFP 9 SP1 (09.00.0000.3504).