Fatal error: Out of memory (allocated 2252140544) (tried to allocate 67108864 bytes)
使用composer安装一些扩展包的时候,很常见的一个问题,如下图所示:
就是内存的问题,我个人很少去修改php.ini文件,一般都是再composer require之前加命令
- COMPOSER_MEMORY_LIMIT=-1 composer require maatwebsite/excel
若是修改php.ini,需要先查看当前homestread使用的php版本,命令为:
update-alternatives --display php (查看所有 php 版本和当前版本)
或
update-alternatives --config php (执行后,会列出当前 php 所有版本和编号,输入编号,切换到执行的版本)
Fatal error: Out of memory (allocated 2252140544) (tried to allocate 67108864 bytes)相关推荐
- wordpress中PHP运行错最有效解决办法Fatal error: Out of memory (allocated 6029312)(转)
近日在升级wordpress 3.2.1和若干插件的过程中,发现了一个wordpress的错误:Allowed memory size of XXX bytes exhausted Fatal err ...
- composer 内存不足解决方案 PHP Fatal error: Out of memory (allocated 184549376)
在执行composer install/update 内存不足 VirtualAlloc() failed: [0x000005af] VirtualAlloc() failed: [0x000005 ...
- Fatal Error: Out of memory php内存溢出处理三种方法
有时候我们在运行php程序的时候会发现 Fatal Error: Out of memory 这样的提示,这有可能是程序中用到了大量了变量和对象,导致分配的内存不够用. 修改php.ini文件里的me ...
- Quartus与modelsim联合仿真报错--Fatal error in Process MEMORY
ROM初始化存储文件路径问题 工程联合仿真时出现下列错误. # ** Error: (vsim-7) Failed to open VHDL file "./VHDL/ROM_WAVE/ha ...
- Native memory allocation (malloc) failed to allocate 2863661056 bytes for committing reserved memory
服务器生产环境数据同步报错kettle 导致调度无法正常启动,报错日志如下: 见第二行信息显示:由于内存不足导致,系统无法分配足够内存让调度运行. 解决办法: 可以调节 -XX:MaxPermSize ...
- 报错Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
报错: Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate 解决:
- Delphi编译到最后Linking时总是出现与ntdll.dll有关的错误还有Fatal Error Out of memory错误
1.跳出错误法 =================================================== 在主界面的implementation {$R *.dfm} 下放入以下代码 ...
- Error updating changes: Out of memory, malloc failed (tried to allocate 1048576 bytes)
这个错误信息提示你的程序尝试申请更多的内存空间时,内存不足,从而无法完成这个操作.出现这个错误通常是因为程序中存在内存泄漏.使用过多的内存等问题. 如果你的程序在运行时出现这个错误,你可以考虑以下几个 ...
- Out of memory, malloc failed(tried to allocate XXXXXXX bytes)
找到.gitconfig文件修改如下
- Native memory allocation (mmap) failed to map 142606336 bytes for committing reserved memory.
这里写链接内容 问题描述 Java程序运行过程中抛出java.lang.OutOfMemoryError: unable to create new native thread,如下所示: [java ...
最新文章
- redhat6.5 yum源
- 又是华为!名校的差距太扎心!清华 2020 年毕业生就业质量报告出炉
- 结构化的网络故障检测与排除方法
- Blend4开发:会飞的小鸟
- 中石油训练赛 - Insertion Order(二叉搜索树+构造)
- uart怎么判断帧错误_UART通讯总线工作原理的理解--龚玉山
- 记一次mysql千万订单汇总查询优化
- azure blob_从Azure Databricks访问Azure Blob存储
- JS判断浏览器类型与版本
- 备份outlook的时候,请不要忘记同时备份Outlook.NK2文件
- SpringBoot项目添加mybatis插件
- 澳洲2022人口普查结果出炉--华人占比开始下降
- word打开文档很久很慢_win7系统打开word文档很慢需要等待很长时间的五种解决方法...
- UE4 设置Play下的默认相机FOV(Field Of View)视角
- app开发入门篇-近期uniapp ; 封装request
- YYLabel和YYTextView的使用
- torchtext.vocab
- 美国名校的网上竞争雷人语录
- 小程序+云开发---基础篇
- linux快捷键和指令记录
热门文章
- 何为业务安全,业务安全部门的具体职责是什么?
- bin code led_一种led颜色BIN划分方法与流程
- Risk Management and Financial Institution Chapter 9 —— Interest Rate Risk
- hold命令matlab,Matlab中的命令hold on hold off
- _itemmod_extract_enchant
- HTML的路径和链接、注释、特殊字符
- python常见容器操作:字符串的增删改查循环、列表的增删改查循环、元组的查循环、字典的的增删改查循环等常规操作
- 中国电信5G定制网产品要点
- 牛学长周年庆活动:软件大促限时抢,注册码免费送!
- svm神经网络葡萄酒matlab,SVM神经网络的数据分类预测-葡萄酒种类识别