A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
Why is my IDE running out memory? | Cloud IDE | Acquia Product Documentation
Cloud IDE
Why is my IDE running out memory?
Why is my IDE running out memory?
Date Published: May 8, 2025
An IDE has certain resource limits, especially for memory. If this memory limit is reached, processes are killed and the IDE might restart.
Note
Certain commands, such as free and top, do not accurately report available memory in a Cloud IDE. Instead, use the following commands to view memory usage and the memory limit:
cat /sys/fs/cgroup/memory/memory.usage_in_bytes
cat /sys/fs/cgroup/memory/memory.limit_in_bytes
The IDE memory limit cannot be increased. If a program is frequently running out of memory, you must reduce its memory usage by one of the following methods:
Check for any known issues related to memory leaks or excessive memory usage.
Update the program to the latest version. For example, the latest releases of Composer, NPM, and Yarn use much less memory than earlier releases.
Check if the program has an internal memory limit that is less than the IDE limit. For example, PHP processes have their own memory limit.
Profile the process by using a debugger to see if memory usage can be reduced. For example, Xdebug can be used to profile the memory usage of PHP scripts.