zend_mm_heap corrupted
程序员文章站
2022-04-28 21:42:57
...
今天用 simpehtmldom 做一个抓取功能,报错 zend_mm_heap corrupted,后来在* 找到一个comment,
So I tried using a benchmark script, and tried recording where the script was hanging up. I discovered that just before the error, a php object was instantiated, and it took more than 3 seconds to complete
what the object was supposed to do, whereas in the previous loops it took max 0.4 seconds. I ran this test quite a few times, and every time the same. I thought instead of making a new object every time, (there is a long loop here), I should reuse the object.
I have tested the script more than a dozen times so far, and the memory errors have disappeared!
以上就介绍了zend_mm_heap corrupted,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
推荐阅读
-
SSH sessions terminate abruptly with message: Corrupted MAC on input. Disconnect
-
SSH sessions terminate abruptly with message: Corrupted MAC on input. Disconnect
-
Your Android SDK is missing, out of date or corrupted
-
win11绿屏错误提示faulty_hardwork_corrupted_page的四种修复教程
-
Aspose Word.Dll库自带的bug导致The document appears to be corrupted and cannot be loaded 问题处理。
-
CF101532H Corrupted Images(暴力模拟)
-
解决Unity的 “The file 'MemoryStream' is corrupted!” 崩溃问题
-
zend_mm_heap corrupted
-
zend_mm_heap corrupted
-
Your Android SDK is missing, out of date or corrupted