dongmen9517 2018-12-20 23:52
浏览 467

致命错误:允许的内存大小为1610612736字节,但已分配1.75G

I keep getting this memory error

PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted 
(tried to allocate 67108864 bytes) in 
phar:///usr/local/bin/composer/src/Composer/
   DependencyResolver/Solver.php on line 220

I have tried everything. Increased the memory limit a few times already. I've redownloaded composer and composer.phar. I cloned my repo on a fresh install and the first composer install worked. For some reason every attempt after causes this error.

I even removed any differences in files from the master branch and my branch that could be causing this.

PhP version 7.1.25 Composer version 1.7.2

Code I edited in a config.yml file

create_course_space_whitelist_expression: '"staff" in affiliations or 
"employee" in affiliations or "faculty" in affiliations or "guest" in 
affiliations or "GR" in student_level'

old code:

create_course_space_whitelist_expression: '"staff" in affiliations or 
"employee" in affiliations or "faculty" in affiliations or "guest" in 
affiliations

Not sure where else to look. I updated two created files within Vendor but I'm deleting vendor before running composer install

EDIT:

I've been able to narrow down the cause. composer install works fine the when working with a clean version of the repo branch. However, when any change is made to the composer.json file, it fails

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 shape_predictor_68_face_landmarks.dat
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制