increase max memory for JVM to 512M

master
melvin 2013-11-10 09:57:06 +08:00
parent 00f67867d3
commit 07a56e6ac4
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
MEM=256M
JAVA=java -Xms$(MEM) -Xmx$(MEM)
MIN_MEM=256M
MAX_MEM=512M
JAVA=java -Xms$(MIN_MEM) -Xmx$(MAX_MEM)
DEBUG=$(JAVA) -ea
LIBS=.:lib/annotations.jar:lib/jsr305.jar:release/lib/groovy-all-2.1.1.jar
RUN=${DEBUG} -Dcom.sun.management.jmxremote -cp $(LIBS):release/Magarena.jar