Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes) 今天要
来源:互联网 发布:手机淘宝卖家如何退款 编辑:程序博客网 时间:2024/05/16 11:42
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes)
今天要用PHP处理一个3万多条数据的表,转换后存入到新的数据表,发现PHP报:Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes)
但是把MYSQL语句放在数据库中就可以执行
百度了下,原因是PHP的内存不够大
网上大部分都是让改php.ini配置文件:
但是发现改完了,也没用,报同样的错误,于是就想用PHP自带的unset()函数去处理,在做foreach()的时候,用完就unset变量,然后就不报错了,数据也能正常写入新的表
0 0
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes) 今天要
- 问题解决Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 38218371 bytes)
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) 问题解决
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 62 bytes) in
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 byt
- magento PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate xxxxx)
- Fatal error: Allowed php错误提示memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) i
- php项目编写过程中Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3214636 byt
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes)
- Allowed memory size of aaaaa bytes exhausted (tried to allocate bbbbb bytes)
- Allowed memory size of 149946368 bytes exhausted (tried to allocate 32640 bytes)
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- 申请微信支付相关事宜
- linux命令cd
- Hibernate与MyBatis的区别
- Ipad/Iphone键盘输入慢、切换数字键盘慢的问题-iOS
- PCL在win10环境Visual Studio2015中的配置
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes) 今天要
- sdn是什么?
- Tersorflow深度学习入门—— CIFAR-10 训练示例报错及解决方案
- mac 下使用wireshark监听网络上的数据
- Android 快速开发(一),封装一个 TopBarBaseActivity
- python——爬虫学习——正则表达式与Re库-(4)
- 一 : BlockingQueue接口
- UML 用例图中<<include>>,<<extends>>,<<uses>>的区别
- 进阶篇_STL详解(函数模板特化,类模板特化,用模板实现自己的通用算法)