User 81a38f9467
21-05-2013 22:29:33
We recently upgraded to 5.11.5 from an older cartridge version and now are encountering java heap space errors with simple structure queries. For example, this query ...
select ID
from STRUCTURE_TABLE
where jc_compare(CMPD_STRUCTURE, 'CN(CC1=NC2=C(N)N=C(N)N=C2N=C1)C1=CC=C(C=C1)C(=O)NC(CCC(O)=O)C(O)=O', 't:f maxHitCount:10000000 doubleBondStereo:M tautomersearch:y')=1;
... generated the following error:
ORA-29904: error in executing ODCIIndexClose() routine
ORA-29532: Java call terminated by uncaught Java exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: java.util.concurrent.ExecutionException: chemaxon.jchem.db.DatabaseSearchException: java.lang.OutOfMemoryError: Java heap space
Caused by:
Java heap space; nested exception is:
chemaxon.jchem.db.DatabaseSearchException: java.lang.OutOfMemoryError: Java heap space
Caused by:
Java heap space; nested exception is:
java.lang.OutOfMemoryError: Java heap space
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 244
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 587
ORA-29903: error in executing ODCIIndexFetch() routine
ORA-29532: Java call terminated by uncaught Java exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: chemaxon.jchem.db.DatabaseSearchException: Error
Caused by:
Java heap space; nested exception is:
java.lang.OutOfMemoryError: Java heap space
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 239
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 538
29904. 00000 - "error in executing ODCIIndexClose() routine"
*Cause: The execution of ODCIIndexClose routine caused an error.
*Action: Examine the error messages produced by the indextype code and
take appropriate action.
The error occurred more than once with this query, though not on every occasion when the query was run. We never observed this error with the older cartridge.
We are using the default settings:
jcserver.maxmem=700m
sysprop.java.rmi.dgc.leaseValue=60000000
sysprop.sun.rmi.dgc.ackTimeout=60000000
sysprop.sun.rmi.dgc.server.gcInterval=60000000
sysprop.sun.rmi.transport.connectionTimeout=60000000
Has something changed with the cartridge such that more memory is now required for these routine searches? Do you have any insights into why this may be occurring?