-
Notifications
You must be signed in to change notification settings - Fork 0
/
StarbaseRPi.sh
54 lines (44 loc) · 2.94 KB
/
StarbaseRPi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/sh
# Note that SSL default is *true*, so set it to false...
# You should not need to change anything below here
# -------------------------------------------------------------------------------------------------
# Note that SSL default is *true*, so set it to false...
# Java options
# -Xmx512m specifies the size of the heap in Mbyte
# -Xms512m is how much of the heap is allocated at startup
# Setting -Xms and -Xmx to the same value increases predictability by removing the most important sizing decision from the virtual machine.
# On the other hand, the virtual machine can't compensate if you make a poor choice.
# Be sure to increase the memory as you increase the number of processors, since allocation can be parallelized.
# Unless you have problems with pauses, try granting as much memory as possible to the virtual machine.
# The default size (64MB) is often too small.
# Options for incremental mode garbage collection
# See http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.0.Incremental%20mode%7Coutline
# See http://java.sun.com/docs/hotspot/gc1.4.2/faq.html
# See http://www.sun.com/bigadmin/content/submitted/cms_gc_logs.html
# See http://java.sun.com/javase/6/docs/technotes/guides/vm/cms-6.html
# -Xmx512m
# -Xms512m
# -XX:NewSize=24m Default size of new generation
# -XX:MaxNewSize=24m
# -XX:+DisableExplicitGC
# -XX:+UseConcMarkSweepGC
# -XX:+CMSIncrementalMode
# -XX:+CMSIncrementalPacing
# -XX:CMSIncrementalDutyCycleMin=0
# -XX:CMSIncrementalDutyCycle=10
# -XX:CMSMarkStackSize=8M
# -XX:CMSMarkStackSizeMax=32M
# -XX:CMSInitiatingOccupancyFraction=40
# -XX:+UseCMSCompactAtFullCollection
# -XX:+ExplicitGCInvokesConcurrent
# -XX:+PrintGCDetails
# -XX:+PrintGCTimeStamps
# -XX:-TraceClassUnloading
# -XX:+PrintGCApplicationConcurrentTime
# -XX:+PrintGCApplicationStoppedTime
# Add these to the java line in order to see the Garbage Collector in action!
# -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
# Add this to get a very verbose set of debug messages
# -verbose: class
# java -Xms512m -Xmx1024m -XX:NewSize=12m -XX:MaxNewSize=128m -XX:SurvivorRatio=6 -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:+UseCMSCompactAtFullCollection -XX:CMSInitiatingOccupancyFraction=-1 -XX:CMSTriggerRatio=70 -XX:CMSTriggerPermRatio=80 -XX:CMSMarkStackSize=1024K -XX:CMSMarkStackSizeMax=32M -XX:-TraceClassUnloading -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar libraries/framework-common.jar loader.properties
java -Xms150m -Xmx200m -XX:+UseSerialGC -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar libraries/framework-common.jar loader.properties