Need help with "out of memory Errors" on server script
Need help with "out of memory Errors" on server script
- Subject: Need help with "out of memory Errors" on server script
- From: "John R. Head" <email@hidden>
- Date: Mon, 17 Sep 2001 16:45:35 -0500
I have an application that is running constantly watching folders and
depending on file type, doing some work on them and communicating results
via URL ACCESS to an app on WebObjects.
We are getting this error message "out of memory" after an extended period
of this application watching folders. We have played with settings and all
to no avail.
There are 2 folders it watches, and one folder has 10 inside of it. But if
it has been about 3 hours or so (I guess since we never can see it actually
produce the error,) but only when we come in the AM is it showing this
message. There is an Idle routine and about 15 pages of scripts that it is
working through till it finds the right kind of file. But there appear to be
no problems there with the script and its memory during its working phase,
only during the idle loops with nothing to do.
Is there some way to purge memory, or defragment it so we do not experience
this problem within the script. I have considered quitting the script every
4th time or so, I do have an AS application that watches to make sure it is
running.
Any ideas? Thanks in advance for help.....