I have a small VFP App that scans a database every four minutes. It does a number of housekeeping tasks including resizing some bitmap files (using an OCX tool), sending some e-mails (using West-Wind tools), creating some zip files (using vfpcompression.fll) and deleting some redundant zip files.
The first few times it's run it is really quick, but gets very slow after about 40 iterations and today ran out of memory at the 70th iteration or so.
I've created a kludge to make the app reload itself after 25 iterations to be getting on with, but is there a better way? Which part is more likely to be causing the problem?
I have a similar program that makes far fewer zip files and doesn't include the image tool - which runs for months on end with no problems.
Any help, as always, gratefully received!
Regards
Griff
Keep [Smile]ing
The first few times it's run it is really quick, but gets very slow after about 40 iterations and today ran out of memory at the 70th iteration or so.
I've created a kludge to make the app reload itself after 25 iterations to be getting on with, but is there a better way? Which part is more likely to be causing the problem?
I have a similar program that makes far fewer zip files and doesn't include the image tool - which runs for months on end with no problems.
Any help, as always, gratefully received!
Regards
Griff
Keep [Smile]ing