mirror of https://github.com/zlatinb/muwire
4g heap limit
parent
0ca6ba1f61
commit
9b0e81fa7f
|
@ -63,6 +63,7 @@ startScripts.doFirst {
|
|||
private void setDefaultArgs() {
|
||||
application.applicationDefaultJvmArgs = ["-Djava.util.logging.config.file=logging.properties",
|
||||
"-Xms256M",
|
||||
"-Xmx4g",
|
||||
"-XX:+UseParallelGC",
|
||||
"-XX:+HeapDumpOnOutOfMemoryError",
|
||||
"-XX:+ExitOnOutOfMemoryError",
|
||||
|
|
Loading…
Reference in New Issue