ID: 40172
Comment by: jon at fantasybookinc dot com
Reported By: diogo86 at gmail dot com
Status: No Feedback
Bug Type: Performance problem
Operating System: Debian
PHP Version: 5.2.0
Assigned To: derick
New Comment:
Running php 5.2 on a debian box, experiencing same issue with date()
memory leakage.
Previous Comments:
------------------------------------------------------------------------
[2007-12-16 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-12-08 11:49:52] [EMAIL PROTECTED]
I still can't reproduce this, not even with an empty php.ini file, on
any PHP version between 5.2.1 and 5.3.0-dev.
------------------------------------------------------------------------
[2007-10-09 16:43:31] [EMAIL PROTECTED]
I'll investigate - it might just be caching though.
------------------------------------------------------------------------
[2007-09-25 18:34:45] travis at pause dot ca
I'm experiencing the same issue: date() increases memory usage (for us)
by about 17-20kb each time it's called. We're running Redhat Enterprise
on our server with PHP 5.2.4. We've also experienced the problem on
Windows XP with PHP 5.2.3.
Interestingly gmdate() is not affected by the issue, leading me to
think it was a problem related somehow to the timezone file.
After a little investigation in that direction we found a fix. Simply
specify date.timezone in your php.ini file and no more memory leak for
date().
eg:
date.timezone = America/Toronto
So this bug can be replicated, it does exist (at least in the versions
mentioned above), but there is a workaround until the leak is fixed (if
it hasn't been in CVS already).
Cheers!
------------------------------------------------------------------------
[2007-01-27 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40172
--
Edit this bug report at http://bugs.php.net/?id=40172&edit=1