Re: Trying to find out where the memory went
Damn I'm an idiot. I meant memory_get_usage() all along. Sorry Mike. Then it'll make
sense... memory_get_usage(), but a gc_collect_cycles() before the second call.
So, my first email should have had this code in it:
var_dump(memory_get_usage());
token_get_all(file_get_contents('<PATH>'));
var_dump(memory_get_usage());
And then, a comparison to this would be useful:
var_dump(memory_get_usage());
token_get_all(file_get_contents('<PATH>'));
gc_collect_cycles();
var_dump(memory_get_usage());
David
On 07.06.2011, at 16:34, Ferenc Kovacs wrote:
> On Tue, Jun 7, 2011 at 4:28 PM, David Zülke <[email protected]>wrote:
>
>> Please test the exact thing I suggested :)
>>
>
> AFAIK he did.
> " int(640720)
> int(244001144)"
> except if you suggested something else off-list.
>
> Tyrael
Attachment: [application/pkcs7-signature] smime.p7s
Thread (18 messages)