added memory settings to scripts. fixed .command script for server.

This commit is contained in:
magenoxx 2011-10-28 14:38:25 +04:00
parent 200e9375f3
commit 416e8cd30b
3 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
@ECHO OFF
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-${project.version}.jar
pause
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-${project.version}.jar -Xms256M -Xmx512M
pause

View file

@ -2,4 +2,4 @@
cd "`dirname "$0"`"
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-0.8.jar
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-${project.version}.jar -Xms256M -Xmx512M

View file

@ -1,3 +1,3 @@
#!/bin/sh
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-${project.version}.jar
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/Mage-Server-${project.version}.jar -Xms256M -Xmx512M