Perry,
I would first look at the part that creates a zip file because it's external to VFP. Anyway, to narrow down the source of the memory leak you can start commenting out parts of the program and see how it would affect memory usage.
>Happy End of Summer!!
>
>I am helping someone troubleshoot a memory issue with a VFP 5 program. It has a timer that fires every hour or so for a process to run. The process extracts data and creates a zip file. Occassionally it will error out. There are several different errors that have popped up, but they all relate back to memory usage.
>
>I ran a memory utility and according to its report, the available Virtual Memory is decreasing several percent every time I check the report.
>
>Since I didn't develop the program in question, the details I have are that it is running a series of SQL Selects to create its output.
>
>Does anyone have any suggestions for what the programmers can look for that would fix the leaks?
>
>Thanks,
>
>PF
--sb--