X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=help%2Fhelp%2Fhtml%2Fmemory.html;h=7d6fb858f395a814edb0b11157587ef697affd8e;hb=406c75985c3585f3c6bf8d6f4778d9fb28c7bf2c;hp=81190a90dd764b318f3ab2736e7497f05b50d7b0;hpb=a58be5fb3401c0b0f74d6089d2eaaf7691e6418f;p=jalview.git diff --git a/help/help/html/memory.html b/help/help/html/memory.html index 81190a9..7d6fb85 100755 --- a/help/help/html/memory.html +++ b/help/help/html/memory.html @@ -80,7 +80,7 @@ arguments, but you must put the jvl file first, e.g.
       /PATH_TO_JALVIEW/Jalview /path/to/file/mymemorysetting.jvl /path/to/alignments/myalignment.fa
Alternatively, you can use the standard Jalview command line arguments with or without the jvl file (first), e.g.
-       /PATH_TO_JALVIEW/Jalview /path/to/file/mymemorysetting.jvl -open http://www.jalview.org/examples/jpred_msa.fasta -annotations http://www.jalview.org/examples/jpred_msa.seq.concise -colour Clustal
You can use command line arguments to control memory + /PATH_TO_JALVIEW/Jalview /path/to/file/mymemorysetting.jvl -open https://www.jalview.org/examples/jpred_msa.fasta -annotations https://www.jalview.org/examples/jpred_msa.seq.concise -colour Clustal You can use command line arguments to control memory settings in Windows and macOS too:
In Windows you must use, e.g.
       \PATH_TO_JALVIEW\Jalview.exe %HOMEPATH%\mymemorysetting.jvl -open %HOMEPATH%\myalignment.fa
In macOS you can use the macOS open command like this:
@@ -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