An IDE has certain resource limits, especially for memory. If this memory limit is reached, processes are killed and the IDE might restart.
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_bytescat /sys/fs/cgroup/memory/memory.limit_in_bytesThe 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: