in reply to memory (leaks and management)

Move the processing of the documents out of the daemon. Make it a separate script, that you call from the daemon. That probably should fix most problems... And if it doesn't, you've got a lot smaller problem space to dig into.

Replies are listed 'Best First'.
Re^2: memory (leaks and management)
by bigearsbilly (Novice) on Mar 28, 2007 at 10:47 UTC
    yes remember, garbage collection only comes in to play when an object goes out of scope or has no references. so if you have a global array say where you push data then it will never be released.