play framework 실행 에러

play framework 실행에서 에러

Error occurred during initialization of VM

Could not reserve enough space for object heap

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.


주로 32 bit OS에서 나는듯.


play-2.1.3\play.bat 수정


set JAVA_OPTS=-Xms512M -Xmx512M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M 


java %JAVA_OPTS% -Dsbt.ivy.home="%~dp0repository" -Dplay.home="%~dp0framework" -Dsbt.boot.properties="%fp%framework/sbt/play.boot.properties" -jar "%~dp0framework\sbt\sbt-launch.jar" %*






'Computing' 카테고리의 다른 글

(golang) multiple main functions cannot be exist in main package  (1) 2021.06.03
play framework  (0) 2013.07.26
The new iPad  (0) 2012.03.09
CentOS 5.5, mongoDB, node.js  (0) 2011.05.19
iphone opengl camera ar  (0) 2011.05.18