PHP 5.3.23 - PHP 5.6.3 - Zend framework 1.12 increase memory usage

We've been working on PHP 5.3.23 for a while and have cron jobs that use a bit of memory due to objects and references. Most of the clones never went over 128M, though probably not even 64M.

Since we upgraded to PHP 5.6.3, some of these crowns are using insane amounts of memory and are still dying even though they have not been changed. One of these crowns beats 2 GB of storage

Is there anything known that might be causing this problem? Or does anyone have more information on how to debug it?

I've tried - putting everything in a function per loop, so all references will be removed after the function, - manual garbage collection - manually removing objects - xhprof using memory

it just seems to keep going up. Something makes me feel like it might be in the MysqlI Adapter zend framework

+3


source to share


1 answer


Perhaps this is due to OpCache, which stores bytecode in shared memory. It is included in php 5.6 by default. More details here .



0


source







All Articles