...
Code Block |
---|
set __cmd="%JAVA_EXEC%" %VMARGS% -Xmx4096m -jar "%INSTALL_DIR%plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" %* |
Update GC Overhead Limit
For GC overhead issues when Java is attempting to run a garbage collector and is having issues to free up memory due to a long running process.
There is an option to pass in the --vmargs -XX:-UseGCOverheadLimit parameter to possibly avoid the issue.
For run-time hammer command, example: hammer groovy deployPackager.groovy pipeline=pipline1 scm=true
--vmargs -XX:-UseGCOverheadLimit
For CLI:
Linux systems: In <datical-install>/repl/hammer-bin.ini
, add line to add parameter -XX:-UseGCOverheadLimit
Windows systems: in <datical-install>/repl/hammer.bat, change the set __cmd line to include the -XX:-UseGCOverheadLimit option.
For example: set __cmd="%JAVA_EXEC%" %VMARGS% -XX:-UseGCOverheadLimit -jar "%INSTALL_DIR%plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" %*