User 93ffa33d02
27-02-2015 12:50:28
I am trying to upgrade to latest chemaxon version (15.2.16) and need to recalculate our molecule table. I am doing this from Windows workstation (32GB RAM) using JChem manager connected to oracle database running on linux. In molecule table there are about 35 million records. First of all process is very slow and no progress is displayed. After some 12 hours of standstill I get error log (submitted later). What causes the OutOfMemoryError and is there a solution for this problem? Also is there something I can do to speed up the recalculation process?
========================================================================================
Error at molecule with cd_id: 5756
Error at molecule with cd_id: 5762
Error at molecule with cd_id: 5757
Error at molecule with cd_id: 5760
java.lang.OutOfMemoryError: Java heap space
at chemaxon.struc.MoleculeGraph.createCHtab(MoleculeGraph.java:6056)
at chemaxon.calculations.Charge.initMolArrays(Charge.java:1691)
at chemaxon.calculations.Charge.initArrays(Charge.java:1679)
at chemaxon.calculations.Charge.initChargeCalc(Charge.java:338)
at chemaxon.calculations.Tautomerization.calcDonorAcceptorSites(Tautomer
ization.java:1666)
at chemaxon.calculations.Tautomerization.initCalc(Tautomerization.java:2
217)
at chemaxon.calculations.Tautomerization.createGenericTautomerMain(Tauto
merization.java:702)
at chemaxon.calculations.Tautomerization.createGenericTautomer(Tautomeri
zation.java:662)
at chemaxon.marvin.calculations.TautomerizationPlugin.run(Tautomerizatio
nPlugin.java:830)
at chemaxon.sss.search.tautomer.TautomerUtil$GenericTautomerizer.createG
enericTautomer(TautomerUtil.java:97)
at chemaxon.sss.search.tautomer.TautomerUtil$GenericTautomerizer.<init>(
TautomerUtil.java:72)
at chemaxon.sss.search.tautomer.TautomerUtil.createGenericTautomer(Tauto
merUtil.java:203)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.setTa
utHashValues(StructureRecordMaker.java:779)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.init(
StructureRecordMaker.java:537)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.initR
ecord(StructureRecordMaker.java:468)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.initS
tructureAndMolecule(StructureRecordMaker.java:344)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.updat
eRecord(StructureRecordMaker.java:387)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.updat
eRecord(StructureRecordMaker.java:381)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:934)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:903)
at chemaxon.jchem.db.Regenerator$RegenThread.process(Regenerator.java:17
2)
at chemaxon.jchem.db.Regenerator$RegenThread.run(Regenerator.java:131)
java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.values(HashMap.java:953)
at chemaxon.formats.recognizer.RecognitionSubsystem.getPossibleFormats(R
ecognitionSubsystem.java:333)
at chemaxon.formats.recognizer.RecognitionSubsystem.processLine(Recognit
ionSubsystem.java:199)
at chemaxon.formats.MolInputStream.processLine(MolInputStream.java:335)
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding.decode(StringCoding.java:187)
at java.lang.StringCoding.decode(StringCoding.java:254)
at java.lang.String.<init>(String.java:534)
at chemaxon.marvin.io.PositionedInputStream.readLine(PositionedInputStre
am.java:319)
at chemaxon.marvin.io.formats.AbstractMRecordReader.readLine(AbstractMRe
cordReader.java:139)
at chemaxon.marvin.io.formats.mdl.MolRecordReader.readLine(MolRecordRead
er.java:178)
at chemaxon.marvin.io.formats.mdl.MolRecordReader.readCtab(MolRecordRead
er.java:617)
at chemaxon.marvin.io.formats.mdl.MolRecordReader.readMol0(MolRecordRead
er.java:199)
at chemaxon.marvin.io.formats.mdl.MolRecordReader.nextRecord(MolRecordRe
ader.java:141)
at chemaxon.marvin.io.formats.mdl.MolRecordReader.nextRecord(MolRecordRe
ader.java:78)
at chemaxon.marvin.io.MRecordImporter.startReadingNext(MRecordImporter.j
ava:1028)
at chemaxon.marvin.io.MRecordImporter.readRecord(MRecordImporter.java:67
2)
at chemaxon.marvin.io.MRecordImporter.readMol0(MRecordImporter.java:587)
at chemaxon.marvin.io.MRecordImporter.readMol(MRecordImporter.java:511)
at chemaxon.formats.MolImporter.readMol(MolImporter.java:883)
at chemaxon.formats.MolImporter.read(MolImporter.java:766)
at chemaxon.formats.MolImporter.read(MolImporter.java:736)
at chemaxon.util.MolHandlerBase.importMol(MolHandlerBase.java:97)
at chemaxon.util.MolHandler.setMolecule(MolHandler.java:173)
at chemaxon.util.MolHandler.<init>(MolHandler.java:127)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.initR
ecord(StructureRecordMaker.java:462)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.initS
tructureAndMolecule(StructureRecordMaker.java:344)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.updat
eRecord(StructureRecordMaker.java:387)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.updat
eRecord(StructureRecordMaker.java:381)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:934)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:903)
at chemaxon.jchem.db.Regenerator$RegenThread.process(Regenerator.java:17
2)
at chemaxon.jchem.db.Regenerator$RegenThread.run(Regenerator.java:131)
java.lang.OutOfMemoryError: Java heap space
Error at molecule with cd_id: 5763
Error at molecule with cd_id: 5753
Error at molecule with cd_id: 5754
Error at molecule with cd_id: 5761
Error at molecule with cd_id: 5755
java.lang.OutOfMemoryError: Java heap space
at chemaxon.formats.recognizer.RecognitionSubsystem.initializeRecognizer
s(RecognitionSubsystem.java:165)
at chemaxon.formats.recognizer.RecognitionSubsystem.<init>(RecognitionSu
bsystem.java:156)
at chemaxon.formats.MolInputStream.initTextFormat(MolInputStream.java:22
1)
at chemaxon.formats.MolInputStream.init(MolInputStream.java:135)
at chemaxon.formats.MolInputStream.<init>(MolInputStream.java:115)
at chemaxon.formats.MolInputStream.<init>(MolInputStream.java:57)
at chemaxon.util.MolHandlerBase.importMol(MolHandlerBase.java:92)
at chemaxon.util.MolHandler.setMolecule(MolHandler.java:173)
at chemaxon.util.MolHandler.<init>(MolHandler.java:127)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.initR
ecord(StructureRecordMaker.java:462)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.initS
tructureAndMolecule(StructureRecordMaker.java:344)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.updat
eRecord(StructureRecordMaker.java:387)
at chemaxon.jchem.base.search.structurerecord.StructureRecordMaker.updat
eRecord(StructureRecordMaker.java:381)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:934)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:903)
at chemaxon.jchem.db.Regenerator$RegenThread.process(Regenerator.java:17
2)
at chemaxon.jchem.db.Regenerator$RegenThread.run(Regenerator.java:131)
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Feb 26, 2015 9:47:29 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.lang.OutOfMemoryError: Java heap space
Feb 26, 2015 9:50:36 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [7, 1]
Feb 26, 2015 9:50:31 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [5]
Feb 26, 2015 9:50:28 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [77]
Feb 26, 2015 9:50:24 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [28]
Feb 26, 2015 9:50:12 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [10]
Exception in thread "Thread-9" Exception in thread "Thread-4" Exception in threa
d "Thread-7" Exception in thread "Thread-5" Exception in thread "Thread-10" java
.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" Feb 26, 2015 9:50:01 PM chemaxon.jchem.db
.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [196]
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Feb 26, 2015 9:49:31 PM chemaxon.jchem.db.Regenerator$RegenThread run
SEVERE: java.sql.SQLException: Protocol violation: [5]