« Return to Thread: Memory leak in Zend_Date?

Memory leak in Zend_Date?

by fab2008 :: Rate this Message:

Reply to Author | View in Thread

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.

 « Return to Thread: Memory leak in Zend_Date?

LightInTheBox - Buy quality products at wholesale price!