* 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
> 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
2 matches
Mail list logo