Re: [PHP] My objects eats too much (and weird!) memory

2007-01-29 Thread Richard Lynch
On Sat, January 27, 2007 2:12 pm, Francisco M. Marzoa Alonso wrote: On sáb, 2007-01-27 at 20:05 +, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO

[PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
Hello! I'm new here, so I do not know if attachments are allowed, so I put my code below. I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. When I execute the code from cli, I get: $ php MemTest.php Obj1

Re: [PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. It measures something else though. The memory manager doesn't allocate memory for individual variables in

Re: [PHP] My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
On sáb, 2007-01-27 at 20:05 +, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: I've written this to check memory consumption of PHP5 objects, because I'm having memory problems with an OO XMLParser that I've written. It measures something else though. The memory