Skip to content

Instantly share code, notes, and snippets.

View urlgrey's full-sized avatar

Scott Kidder urlgrey

  • San Francisco, California
View GitHub Profile
git reset -- bin/server_start.sh \
&& git checkout bin/server_start.sh
git pull \
&& git checkout tags/v0.5.2
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 \