Re: Trying to find out where the memory went

From: Date: Sun, 05 Jun 2011 12:01:52 +0000
Subject: Re: Trying to find out where the memory went
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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)

« previous php.internals (#52927) next »