ID:               33363
 Updated by:       [EMAIL PROTECTED]
 Reported By:      asnyder at mddev dot com
 Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Linux Fedora
 PHP Version:      4.3.10
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------

[2005-06-16 16:31:01] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-06-16 16:24:53] asnyder at mddev dot com

Description:
------------
Here's the problem in the nutshell. For whatever reason a class
consisting of a bunch of integers, and strings, appears to take up an
additional 500k, when added to the session, or even just to the code.
According to my math, it should be around .8 of a KB, not around 500KB,
eitherway, what happens is when you keep adding more of these objects,
it works until it reaches memory_get_usage of 4868856, which is around
4.6 MB!, when the entire page should only be a few KB( furthermore, if
you do memory_get_usage on a blank page it starts with a figure around
14384, why is it any size?)if I'm not mistaken, it doesn't finish
rendering all the html. Furthermore, if you add one of these 500KB
objects, and then later unset(it and all it's components) it, it only
frees up 100KB. Why is this happenning? Why are types taking up so much
space, and what can I do to get around this problem?

Asher Snyder

Reproduce code:
---------------
Due to legal reasons, I'm not able to paste any code into this area.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33363&edit=1

Reply via email to