当前位置:网站首页>PHP - fatal error: allowed memory size of 314572800 bytes exhausted
PHP - fatal error: allowed memory size of 314572800 bytes exhausted
2022-07-05 14:20:00 【Cn Huashao】
Frequently asked questions PHP——Fatal error: Allowed memory size of 314572800 bytes exhausted...
background
When we develop everyday , We will encounter all kinds of strange problems ( Step on the pit o(╯□╰)o), This series of frequently asked questions is a record of some of my daily problems , Here, I'll share it with you after sorting and summarizing , Let his little friend who is still in the pit have a rope to climb out .
At the same time, you are also welcome to leave messages or private letters to me , Let me see if it can be solved for you .
development environment
- System :windows10
- Language :PHP
Content
error
Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in...
Cause :
The memory used when operating a certain item of data exceeds the maximum limit , Causes memory overflow and cannot be used effectively .
Solution :
1、php.ini in memory_limit Set to 512M
2、 Add... To the program ini_set("memory_limit", "512M"); sentence
This article states that :
This work is written by cn Hua Shao use Creative Commons signature - Noncommercial use 4.0 International licensing agreement Licensing .
边栏推荐
- Judge whether the variable is an array
- Interpretation of tiflash source code (IV) | design and implementation analysis of tiflash DDL module
- The simplest way to open more functions without certificates
- R语言ggplot2可视化:使用ggplot2可视化散点图、使用labs参数自定义X轴的轴标签文本(customize X axis labels)
- Qingda KeYue rushes to the science and Innovation Board: the annual revenue is 200million, and it is proposed to raise 750million
- 分享 12 个最常用的正则表达式,能解决你大部分问题
- ASP.NET大型外卖订餐系统源码 (PC版+手机版+商户版)
- 3W principle [easy to understand]
- POI set the data format of the column (valid)
- R語言ggplot2可視化:可視化折線圖、使用theme函數中的legend.position參數自定義圖例的比特置
猜你喜欢
基于 TiDB 场景式技术架构过程 - 理论篇
TDengine 社区问题双周精选 | 第三期
Postman简介、安装、入门使用方法详细攻略!
TiCDC 6.0原理之Sorter演进
家用电器行业商业供应链协同平台解决方案:供应链系统管理精益化,助推企业智造升级
World Environment Day | Chow Tai Fook serves wholeheartedly to promote carbon reduction and environmental protection
CyCa children's physical etiquette Ningbo training results assessment came to a successful conclusion
Chow Tai Fook fulfills the "centenary commitment" and sincerely serves to promote green environmental protection
Thymeleaf 使用后台自定义工具类处理文本
[learning notes] stage test 1
随机推荐
分享 20 个稀奇古怪的 JS 表达式,看看你能答对多少
R语言dplyr包select函数、group_by函数、mutate函数、cumsum函数计算dataframe分组数据中指定数值变量的累加值、并生成累加数据列
What category does the Internet of things application technology major belong to
The forked VM terminated without saying properly goodbye
Google eventbus usage details
快消品行业SaaS多租户解决方案,构建全产业链数字化营销竞争力
矩阵链乘 - 动态规划实例
循环不变式
ASP. Net large takeout ordering system source code (PC version + mobile version + merchant version)
LeetCode_ 3 (longest substring without repeated characters)
Why do mechanical engineers I know complain about low wages?
Chow Tai Fook fulfills the "centenary commitment" and sincerely serves to promote green environmental protection
What is the ranking of GF futures? Is it safe and reliable to open an account for GF futures online?
LeetCode_ 69 (square root of x)
04_solr7.3之solrJ7.3的使用
[buuctf.reverse] 152-154
Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
周大福践行「百周年承诺」,真诚服务推动绿色环保
The IPO of Ruineng industry was terminated: the annual revenue was 447million and it was planned to raise 376million
TDengine 社区问题双周精选 | 第三期