Created
August 9, 2015 17:42
-
-
Save urlgrey/0e0bf6253581888d8e52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/server_start.sh b/bin/server_start.sh | |
index fd4f492..e5b6b9f 100755 | |
--- a/bin/server_start.sh | |
+++ b/bin/server_start.sh | |
@@ -26,7 +26,7 @@ GC_OPTS="-XX:+UseConcMarkSweepGC | |
# To truly enable JMX in AWS and other containerized environments, also need to | |
# -Djava.rmi.server.hostname equal to the hostname in that environment. This i | |
# depending on AWS vs GCE etc. | |
-JAVA_OPTS="-XX:MaxDirectMemorySize=512M \ | |
+JAVA_OPTS="-XX:MaxDirectMemorySize=2048M \ | |
-XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true \ | |
-Dcom.sun.management.jmxremote.port=9999 \ | |
-Dcom.sun.management.jmxremote.rmi.port=9999 \ | |
@@ -84,7 +84,7 @@ if [ "$PORT" != "" ]; then | |
fi | |
if [ -z "$JOBSERVER_MEMORY" ]; then | |
- JOBSERVER_MEMORY=1G | |
+ JOBSERVER_MEMORY=2G | |
fi | |
# This needs to be exported for standalone mode so drivers can connect to the S |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment