2014년 6월 10일 화요일

[PlayFramework_error] could not reserve enough space for object heap

playframework could not reserve enough space for object heap

C:\java\play-2.1.5\framework\build.bat


@echo off
setlocal enabledelayedexpansion
set PLAY_VERSION="2.1.5"
if defined JPDA_PORT set DEBUG_PARAM="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=%JPDA_PORT%"
set p=%~dp0
set p=%p:\=/%
set fp=file:///!p: =%%20!
java -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M %DEBUG_PARAM% %JAVA_OPTS% -Dfile.encoding=UTF-8 -Dplay.version="%PLAY_VERSION%" -Dsbt.ivy.home="%~dp0..\repository" -Dplay.home="%~dp0." -Dsbt.boot.properties="%fp%sbt/sbt.boot.properties" -jar "%~dp0sbt\sbt-launch.jar" %*
:end
endlocal


---------------------------------------------


Change red sector follows that
( Memory Setting )


java -XX:+CMSClassUnloadingEnabled %DEBUG_PARAM% -Dfile.encoding=UTF8 -Dplay.version="%PLAY_VERSION%" -Dsbt.ivy.home="%~dp0..\repository" -Dplay.home="%~dp0." -Dsbt.boot.properties="file:///%p%sbt/sbt.boot.properties" -jar "%~dp0sbt\sbt-launch.jar" %*

댓글 없음:

댓글 쓰기