Limit JVM maximum heap size to 256 MB
This patch limit the JVM maximum heap size to 256MB. Signed-off-by: Amnon Heiman <amnon@scylladb.com>
This commit is contained in:
parent
7c34fb8ce0
commit
c452a9f7ba
@ -69,4 +69,4 @@ do
|
||||
esac
|
||||
done
|
||||
|
||||
exec java $API_ADDR $API_PORT $CONF_FILE -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar $LOCATION/urchin-mbean-1.0.jar
|
||||
exec java $API_ADDR $API_PORT $CONF_FILE -Xmx256m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar $LOCATION/urchin-mbean-1.0.jar
|
||||
|
Loading…
Reference in New Issue
Block a user