ChemAxon 9c0afc9aaf
23-06-2009 13:48:07
I get Out of Memory error wen using JChemSearch on large structure tables tables:
ERROR: Table "xyz" could not fit into structure cache (out of memory).
Please visit http://www.chemaxon.com/jchem/FAQ.html#outofmemory and http://www.chemaxon.com/jchem/FAQ.html#cacheSize
/>
Please see:
http://www.chemaxon.com/jchem/FAQ.html#outofmemory
/>and
http://www.chemaxon.com/jchem/FAQ.html#cacheSize
/>
The heap size for the Java Cirtual Machine (JVM) should be increased, so the table(s) would fit in the structure cache.
In the case of Pipeline Pilot the file
<scitegic-install>/apps/scitegic/core/xml/Objects/JavaEnvironment.xml
controls the JVM than runs within a protocol.
Please locate the -Xmx and set to an appropriate value described in the
links above (increase the defualt by approximately 100MB per 1 million structure):
<sci:propval name="JVMArg0">-Xmx256M</sci:propval>