Hi Yizhuang,

I think your default setting of max=268400000  is about 260MB, so less than the 
suggested 1000m.


Can you try commenting out the original defaults thus:

##lax.nl.java.option.java.heap.size.initial=33554432

##lax.nl.java.option.java.heap.size.max=268400000

and including the suggested

lax.nl.java.option.java.heap.size.max=1000m
lax.nl.java.option.java.heap.size.initial=500m

and let us know if this helps.


Thanks,


Mungo


Mungo Carstairs
Jalview Computational Scientist
The Barton Group
Division of Computational Biology
School of Life Sciences
University of Dundee, Dundee, Scotland, UK.
www.jalview.org<http://www.jalview.org/>
www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk/>
________________________________
From: [email protected] <[email protected]> 
on behalf of Yizhuang Zhou <[email protected]>
Sent: 06 January 2017 07:20:58
To: jalview-discuss
Subject: [Jalview-discuss] out of memory

Hi,

I used Jalview to perform principle component analysis, but it said "Out of 
memory when calculating PCA!! See help files for increasing Java Virtual 
Machine memory". Then I see help files 
(http://www.jalview.org/jvmmemoryparams.html). It told me to add two lines into 
Jalview.lax:


lax.nl.java.option.java.heap.size.max=1000m
lax.nl.java.option.java.heap.size.initial=500m

When I opened the file Jalview.lax. I found that there were already two lines 
which showed:

lax.nl.java.option.java.heap.size.initial=33554432

lax.nl.java.option.java.heap.size.max=268400000

So my question is whether we should add two lines to the end of this file? The 
default memory is larger than your suggested memory, if we change or add these 
two lines, can we fix

this probelm? Even we added these two lines, the problem was not fixed, it 
still said "Out of memory when calcu
 lating PCA!! See help files for increasing Java Virtual Machine memory".So what

is the problem and how to fix it?

Thanks in advance!

Best wishes!

Yizhuang Zhou

2017-01-06
________________________________
Yizhuang Zhou

The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________
Jalview-discuss mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-discuss

Reply via email to