X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=help%2Fhelp%2Fhtml%2Fmemory.html;h=0374dcba23fb31286bb95fe8dbe09ecb3ce9b169;hb=8554d8662434979c3a0bdebcc6a2cd837f2afd7c;hp=81190a90dd764b318f3ab2736e7497f05b50d7b0;hpb=a58be5fb3401c0b0f74d6089d2eaaf7691e6418f;p=jalview.git
diff --git a/help/help/html/memory.html b/help/help/html/memory.html
index 81190a9..0374dcb 100755
--- a/help/help/html/memory.html
+++ b/help/help/html/memory.html
@@ -90,7 +90,17 @@
Maximum memory limit
Since 2.11.1.0, Jalview's configuration includes a 'maximum memory limit':
jalview.jvmmemmax = 32G
- Adjusting this default (via a JVL file, above) will allow larger amounts of memory to be allocated to Jalview in connjunction with the jalview.jvmmempc setting.
+ Adjusting this default (via a JVL file, above) will allow larger amounts (or can limit the amount) of memory to be allocated to Jalview in conjunction with the jalview.jvmmempc setting.
+
+
+ Command line arguments when using the executable jar (jalview-all.jar) or jalview.bin.Launcher
+ If you are using the Jalview standalone executable jar (usually named jalview-all-....jar with a Jalview and Java version designation) or using jalview.bin.Launcher to start Jalview,
+ then you can set the jvmmempc and jvmmemmax values using application command line arguments -jvmmempc=PERCENT
+ and -jvmmemmax=MAXMEMORY respectively. PERCENT should be an integer between 1 and 100, and MAXMEMORY should be an amount of memory in bytes, or you can append a "k", "m", "g", or "t" to use units of kilobytes, megabytes, gigabytes or terabytes, e.g.
+ java -jar jalview-all-2.11.1.0-j1.8.jar -jvmmempc=50 -jvmmemmax=20g
+ (this example will launch Jalview with a maximum heap size of the smaller of 20GB or 50% of physical memory detected).
+
The default value for jvmmempc is 90, whilst the default value for jvmmemmax is 32g if Jalview can determine a total physical memory size of the host system, and a more cautious 8g if Jalview is unable to determine a total physical memory size.
+
Directly opening Jalview
with a JVM
Launching Jalview directly with a JVM is