duanba8173 2017-07-05 04:50
浏览 33

Yii framework-1.1.14.f0fee9 zend_mm_heap已损坏,超过最长执行时间

This is problem i get when doing a mass Edit as a cron job. (more than 15 000 records)

PHP Fatal error: Maximum execution time of 60 seconds exceeded in /frameworks/yii/framework-1.1.14.f0fee9/db/schema/CDbCommandBuilder.php on line 0 zend_mm_heap corrupted

I set the time and memory as bellow

set_time_limit(0); //no time limitation
ini_set('max_execution_time', 0);
ini_set('memory_limit', '-1'); // no memory limitation 

After applying this code, again getting

Maximum execution time of 60 seconds exceeded in /frameworks/yii/framework-1.1.14.f0fee9/db/ar/CActiveRecord.php on line 407

Fatal error: Maximum execution time of 60 seconds exceeded in /frameworks/yii/framework-1.1.14.f0fee9/validators/CValidator.php on line 0 Segmentation fault

I need to handle more than 2 lacks records.

How can I solve this?

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥20 matlab计算中误差
    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制
    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊