naver / yobi

Project hosting software - Deprecated
Apache License 2.0
379 stars 136 forks source link

AWS EC2 환경입니다. #937

Open haneu89 opened 9 years ago

haneu89 commented 9 years ago

AWS EC2 환경입니다.

Play activator 을 설치하고 git으로 최신을받고

실행 후 start 하는데 아래와같이 뜨면서 되질않습니다. 대충 메모리 문제같은데 실행하고싶습니다....어떻게 해결하면될까요

[info] Loading project definition from /home/ubuntu/activator-1.2.10-minimal/yobi/project [info] Set current project to yobi (in build file:/home/ubuntu/activator-1.2.10-minimal/yobi/) [yobi] $ start [info] Wrote /home/ubuntu/activator-1.2.10-minimal/yobi/target/scala-2.10/yobi_2.10-0.8.2-SNAPSHOT.pom [info] Packaging /home/ubuntu/activator-1.2.10-minimal/yobi/target/scala-2.10/yobi_2.10-0.8.2-SNAPSHOT.jar ... [info] Done packaging.

(Starting server. Type Ctrl+D to exit logs, the server will remain in background)

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5550000, 715849728, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (malloc) failed to allocate 715849728 bytes for committing reserved memory.

An error report file with more information is saved as:

/home/ubuntu/activator-1.2.10-minimal/yobi/hs_err_pid5048.log

eungjun-yi commented 9 years ago

말 그대로 메모리 부족인 것 같군요. 시스템 메모리가 얼마나 되는지요?

haneu89 commented 9 years ago

1기가입니다. 너무가혹했나요...ㄷ

eungjun-yi commented 9 years ago

시스템 메모리가 4기가 미만일 때 컴파일 혹은 실행시 문제를 겪었다는 이야기를 몇 번 들었습니다. 컴파일할때만 1기가 가까이 메모리를 쓰는 것 같더군요.

doortts commented 9 years ago

시스템 메모리 중에서도 free memory가 어느정도 되는지 보셔야 할 것 같아요.