Re: Trying to find out where the memory went
Smells like a memory leak if gc_collect_cycles() doesn't fix it.
David
On 05.06.2011, at 00:01, Mike van Riel wrote:
> Hey David,
>
> That gives me the following output:
>
> int(640720)
> int(244001144)
>
> Mike
>
> On Sat, 2011-06-04 at 23:51 +0200, David Zülke wrote:
>> What does
>>
>> var_dump(memory_get_peak_usage());
>> token_get_all(file_get_contents('<PATH>'));
>> var_dump(memory_get_peak_usage());
>>
>> get you?
>>
>> David
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Attachment: [application/pkcs7-signature] smime.p7s
Thread (18 messages)