如何跟踪magento基础项目中导致内存泄漏的原因?

我们在Zend Server上运行基于PHP的电子商务平台。 它是一个基于magento的平台,在过去的几天里,我们面临着PHP进程的奇怪行为。
但是我们正面临与内存相关的问题,即 1073741824 </ code>字节的允许内存大小耗尽(试图分配< 代码> 140055511388160 </ code> bytes)</ p>

  [05-Aug-2019 11:37:07 UTC] PHP致命错误:允许的内存大小为1073741824字节耗尽(试图 在第83行上的/opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php中分配140055511388160字节)
[05-Aug-2019 12:00:19 UTC] PHP致命错误 :第83行的/opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php中允许的内存大小为1073741824字节(尝试分配18446744069414588416字节)[0] 2019 12:35:15 UTC] PHP致命错误:/ opt / SP / WEB_DATA / zend / var / apps / http / URL / 80 / application / index中允许的内存大小为1073741824字节(尝试分配7234013555742498816字节)。 php on the line 83
[05-Aug-2019 12:39:00 UTC] PHP致命错误:允许内存 在第83行的/opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php中耗尽了1073741824字节的ory大小(试图分配140055511412736字节)
</ code> </ pre >

根据日志,它要求分配超过 1400GB </ code>,这实际上是不可能的。</ p>
</ div>

展开原文

原文

We have PHP based e-commerce platform running on Zend Server. Its a magento based platform and for the last few days, we are facing strange behavior by PHP process. But we are facing memory-related issue i.e. Allowed memory size of 1073741824 bytes exhausted (tried to allocate 140055511388160 bytes)

[05-Aug-2019 11:37:07 UTC] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 140055511388160 bytes) in /opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php on line 83
[05-Aug-2019 12:00:19 UTC] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 18446744069414588416 bytes) in /opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php on line 83
[05-Aug-2019 12:35:15 UTC] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 7234013555742498816 bytes) in /opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php on line 83
[05-Aug-2019 12:39:00 UTC] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 140055511412736 bytes) in /opt/SP/WEB_DATA/zend/var/apps/http/URL/80/application/index.php on line 83

As per the logs, it is asking to assign more than 1400GB which is practically impossible.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐