Linux error

    [AWS EC2 AMI2 Linux] 빌드 에러 - Cannot allocate memory

    AWS EC2에서 Spring Boot 프로젝트를 빌드할 때 아래와 같은 에러가 발생했다. 구글링을 참고하여 에러 해결방법을 정리해봤다. # OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000eaaa0000, 178978816, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 178978816 bytes for committing reserved memory. 원인..