I see great increase of memory usage, when this script is working.
In reply to Re^2: Wrong dereference => Out of memory by schetchik in thread Wrong dereference => Out of memory by schetchik