Background
Need to perform composer removal package operation on lumen framework.
Error message
docker composer remove Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 byt
Solution:
/usr/local/bin/php -d memory_limit=-1 /usr/local/sbin/composer remove xxx
Explanation: php -d memory_limit=-1
means that the php process uses unlimited memory.
Note that both php and composer need to use absolute paths.
Read More:
- [Solved] OpenCV Train the class Error: Bad argument & Error: Insufficient memory
- [Solved] Tensorflow error or keras error and tf.keras error: oom video memory is insufficient
- Docker Build Error: Failed to get D-Bus connection: Operation not permitted [Solved]
- How to Solve k8s Nodal issues: /sys/fs/cgroup/memory/docker: no space left on device\““: unknown.
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- Node Memory Overflow: FATAL ERROR: Reached heap limit Allocation failed – JavaScript heap out of memory
- [Solved] docker Error: bridge docker0 failed: exchange full
- [Solved] redis Error: Can‘t save in background fork Cannot allocate memory
- [Solved] CentOS build a docker error: job for docker.service failed….
- [Solved] Service Start Error When Horizon View Composer is Installing
- Error in node when PM2 starts multiple processes in docker
- Docker service startup error: Job for docker.service failed because the control process exited with error code.
- [Solved] Laravel reports an error when executing composer update
- [Solved] Docker Error: got permission denied while trying to connect to the docker daemon socket at…
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- Docker Open Error: Warning: docker.service changed on disk. Run ‘systemctl daemon-reload‘ to reload unit
- [Solved] Docker Start Error: iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0/0 –dport 10241
- [Solved] Error in installing docker requires: fuse overlayfs >= 0.7
- Docker Error response from daemon: Get https://registry-1.docker.io/v2/portainer/portainer/…
- [Solved] HTTP Error 405.0-Method Not Allowed occurs in the Put operation of the REST service on IIS7.5