Wade Preston Shearer wrote:
> I am getting memory leak notices in Apache's error log. Are these leaks
> in the PHP engine or my script? If it's my script, how would I debug
> that? It tells me the file that the leaks are occurring with but that's
> all. Is there a way to get more verbose information?

you can use the following function memory_get_usage() to figure out after each
call how much memory you are using and you can call it after you are releasing
resources. I wondering if you are doing mysql stuff? Sometimes mysql is known to
cause some memory issues.

this might be a good read: http://www.webreference.com/programming/php_mem/


-- 
thebigdog

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to