Hi... I got a big site, which is not very well constructed inside, and the
script began to throw (rather often, but NOT always) a fatal error " Fatal
error: Allowed memory size of 8388608 bytes exhausted ", every time in
different places. I wonder how should I debug that, as there is pretty much
co
Hi all.
I would like to ask you if exist some way to get size of memory used by
current script.
I searched for sth, but didn't found any suitable result :o(
Thanx
Emo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi... I got a big site, which is not very well constructed inside, and
the
> script began to throw (rather often, but NOT always) a fatal error "
Fatal
> error: Allowed memory size of 8388608 bytes exhausted ", every time in
> different places. I wonder how should I debug that, as there is pretty
* Thus wrote [cz]Emo ([EMAIL PROTECTED]):
> Hi all.
>
> I would like to ask you if exist some way to get size of memory used by
> current script.
> I searched for sth, but didn't found any suitable result :o(
yes for php >= 4.3.2
http://php.net/memory_get_usage
Curt
--
"I used to think I was
4 matches
Mail list logo