Closed critikaled closed 10 years ago
-Xmx1536M means 1.5GB of memory ... do you have that much memory on your gear (default is 0.5 GB) ? Otherwise you can edit the build script to change the Xmx argument.
Hi tyrcho, I am pretty new to openshift can you please elaborate where and how to edit build script. thanks in advance
the easiest way is to login (ssh) on your application, then edit this file : app-root/data/play-2.2.1/framework/build to change the Xms and Xmx arguments.
On Sun, Mar 2, 2014 at 4:37 PM, Sasi Kanth Lanka notifications@github.comwrote:
Hi tyrcho, I am pretty new to openshift can you please elaborate where and how to edit build script. thanks in advance
Reply to this email directly or view it on GitHubhttps://github.com/tyrcho/openshift-cartridge-play2/issues/4#issuecomment-36457032 .
remote: /var/lib/openshift/53121206500446cad20001b4/app-root/data//play/framework/build: line 19: 41729 Killed "$JAVA" ${DEBUG_PARAM} -Xms512M -Xmx1536M -Xss1M -XX:ReservedCodeCacheSize=192m -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512M ${JAVA_OPTS} -Dfile.encoding=UTF-8 -Dplay.version="${PLAY_VERSION}" -Dplay.home=
dirname $0
-Dsbt.boot.properties=dirname $0
/sbt/sbt.boot.properties ${PLAY_OPTS} -jardirname $0
/sbt/sbt-launch.jar "$@" remote: An error occurred executing 'gear postreceive' (exit code: 137) remote: Error message: CLIENT_ERROR: Failed to execute: 'control build' for /var/lib/openshift/53121206500446cad20001b4/play2This is the error I am getting while deploying a larger application