I've made a CSV parser but sometimes it returns a memory exhausted error. The CSVparser consists of a jquery loop that starts multiple php files with ajax to parse a file. Some of the files return the error and i was wondering if this has something to do with the files running at the same time. So my question is, can i prevent the exhausting error by queuing up the parsing?
1条回答 默认 最新
- doulvyi2172 2012-05-29 20:32关注
If you're receiving the PHP error
Fatal error: Allowed memory size of ### bytes exhausted
then that means the single thread ran out of memory - regardless of any other processes. The memory you set for PHP (memory_limit
) isn't divided amongst the running processes or anything like that. That amount is reserved for each instance.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 为什么eprime输出的数据会有缺失?
- ¥20 腾讯企业邮箱邮件可以恢复么
- ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
- ¥15 错误 LNK2001 无法解析的外部符号
- ¥50 安装pyaudiokits失败
- ¥15 计组这些题应该咋做呀
- ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
- ¥15 让node服务器有自动加载文件的功能
- ¥15 jmeter脚本回放有的是对的有的是错的
- ¥15 r语言蛋白组学相关问题