JamieKitson
Programmer
Hi,
I have a program that, for the sake of a short post, runs a few queries in a loop. Running the loop once every 10 seconds is ok, some DelX.MB files get created and deleted in the temporary folder. However, if the loop runs too fast, about once every 3 seconds, some of the DelX.MB files are not deleted and my program eventually raises either the MaxFileHandles or Out of Memory error. If the program pauses for some reason then the files get deleted and it runs ok for a bit longer. I know I can put the MaxFileHandles and SharedMemSize values up but I cannot put them up indefinitely. Is there anyway I can speed up the deletion of these files? Is it a BDE problem or a problem with Windows disk access?
Any help much appriciated, Jamie Kitson
I have a program that, for the sake of a short post, runs a few queries in a loop. Running the loop once every 10 seconds is ok, some DelX.MB files get created and deleted in the temporary folder. However, if the loop runs too fast, about once every 3 seconds, some of the DelX.MB files are not deleted and my program eventually raises either the MaxFileHandles or Out of Memory error. If the program pauses for some reason then the files get deleted and it runs ok for a bit longer. I know I can put the MaxFileHandles and SharedMemSize values up but I cannot put them up indefinitely. Is there anyway I can speed up the deletion of these files? Is it a BDE problem or a problem with Windows disk access?
Any help much appriciated, Jamie Kitson