X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=help%2Fhelp%2Fhtml%2Fmemory.html;h=17dc55773614df4b2ae5eca048600e433b56c23c;hb=a04cf6040029d0fd8142a3d1b28447af89cfe15a;hp=a326575f78c310f5cee6e60fe5ec2c853073cab7;hpb=b5fade85256c0fbcedd48b078a31e8c2ac86ba1e;p=jalview.git diff --git a/help/help/html/memory.html b/help/help/html/memory.html index a326575..17dc557 100755 --- a/help/help/html/memory.html +++ b/help/help/html/memory.html @@ -95,12 +95,12 @@ /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 https://www.jalview.org/examples/jpred_msa.fasta -annotations https://www.jalview.org/examples/jpred_msa.seq.concise -colour Clustal+ /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:
- \PATH_TO_JALVIEW\Jalview.exe %HOMEPATH%\mymemorysetting.jvl -open %HOMEPATH%\myalignment.fa+ \PATH_TO_JALVIEW\Jalview.exe %HOMEPATH%\mymemorysetting.jvl --open %HOMEPATH%\myalignment.fa In macOS you can use the macOS open command like this:
- open /Applications/Jalview.app --args ~/mymemorysetting.jvl -open ~/myalignment.fa(put + open /Applications/Jalview.app --args ~/mymemorysetting.jvl --open ~/myalignment.fa(put all the Jalview arguments after the --args parameter)
java -jar jalview-all-2.11.1.0-j1.8.jar -jvmmempc=50 -jvmmemmax=20g+ 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).