Posted by Mad Hatter on 01/02/08 22:46
Hi folks
I have a script which reads the mysql database,does a lot of string
manipulation then writes its output to a file. The manipulation is all done
in a separate function which is called over and over again but with each
time it's called it's not releasing the memory allocated from the last
call. After a few Calls it's running out of memory. I'm using 'echo
memory_get_usage()' to check the usage and unset(variable names) to try and
free things up. Anyone tell me where I'm going wrong please.
Navigation:
[Reply to this message]
|