Don't you think that just giving an error message is not enough to reproduce
anything ???
Which date have you tried ?
Which timezone ?
Do you use one date object or multiple ?
Do you use caching ?
Which locale is being used ?
Have you tried to use the date standalone for reproduction ?
Please do a little bit of simple debugging yourself. Otherwise it's almost
impossible to help you.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "fab2008" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, July 09, 2008 2:21 AM
Subject: [fw-general] Memory leak in Zend_Date?
Hi all,
I don't know if this is a bug, but in one of my controller I get this:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 1245184 bytes) in
/Users/fabio/Zend/ZendFramework-1.5.2/library/Zend/Date.php on line 2539
At the line 2539 I found this instruction
$this->mktime($hour, $minute, $second, 1 + $month, 1 + $day,
1970 + $year, true), false);
Now, what's sound strange to me is the allocation of more than one
Megabyte
for this instruction.
In my script I solved the problem setting the memory limit to 16M, but I
remain perplexed.
Should I open an issue on ZF issue system?
Thanks.
--
View this message in context:
http://www.nabble.com/Memory-leak-in-Zend_Date--tp18351959p18351959.html
Sent from the Zend Framework mailing list archive at Nabble.com.