diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-27 19:56:00 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-27 19:56:13 -0400 |
commit | d2f8cade709b7d55a93e18592b6e38247d648ca9 (patch) | |
tree | d243e8ac0955037c147009d5a641b27f4a2388b1 | |
parent | 71c91f6b12860020528f02f9695c122c597f5561 (diff) | |
download | cbt-d2f8cade709b7d55a93e18592b6e38247d648ca9.tar.gz cbt-d2f8cade709b7d55a93e18592b6e38247d648ca9.tar.bz2 cbt-d2f8cade709b7d55a93e18592b6e38247d648ca9.zip |
limit cbt memory usage. circle is limited to 4GB
-rwxr-xr-x | cbt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ stage1 () { log "Running JVM directly" "$@" options=($JAVA_OPTS) # JVM options to improve startup time. See https://github.com/cvogt/cbt/pull/262 - java "${options[@]}" $DEBUG -Xmx6072m -Xss10M -XX:MaxJavaStackTraceDepth=-1 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -cp "$NAILGUN$TARGET" cbt.NailgunLauncher "$(time_taken)" "$CWD" "$loop" "$@" + java "${options[@]}" $DEBUG -Xmx3072m -Xss10M -XX:MaxJavaStackTraceDepth=-1 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -cp "$NAILGUN$TARGET" cbt.NailgunLauncher "$(time_taken)" "$CWD" "$loop" "$@" exitCode=$? else log "Running via background process (nailgun)" "$@" |