[ https://issues.apache.org/jira/browse/CTAKES-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17652574#comment-17652574 ]
Sean Finan commented on CTAKES-112: ----------------------------------- How was the cvd started? The CVD is not a ctakes product. I don't think that we should be trying to support it. > UIMA CVD: java.lang.OutOfMemoryError: Java heap space when using the > AggregatePlaintextUMLSProcessor.xml > -------------------------------------------------------------------------------------------------------- > > Key: CTAKES-112 > URL: https://issues.apache.org/jira/browse/CTAKES-112 > Project: cTAKES > Issue Type: Improvement > Reporter: Pei Chen > Priority: Major > Fix For: future enhancement > > > I think this happens if we try to load multiple AE's in the CVD. Does UIMA > CVD/CPE not clean up the resources? > From Pete: > Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap > space > at clear.model.OneVsAllModel.loadAux(OneVsAllModel.java:98) > at clear.model.OneVsAllModel.load(OneVsAllModel.java:88) > at clear.model.AbstractModel.<init>(AbstractModel.java:58) > at clear.model.AbstractMultiModel.<init>(AbstractMultiModel.java:51) > at clear.model.OneVsAllModel.<init>(OneVsAllModel.java:56) > at clear.decode.OneVsAllDecoder.<init>(OneVsAllDecoder.java:52) > at > org.apache.ctakes.dependency.parser.ae.ClearParserUtil.createParser(ClearParserUtil.java:97) > at > org.apache.ctakes.dependency.parser.ae.ClearParserDependencyParserAE.initialize(ClearParserDependencyParserAE.java:143) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:156) > at > org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94) > at > org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62) > at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:269) > at > org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:387) > at > org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:254) > at > org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:431) > at > org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:375) > at > org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:185) > at > org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94) > at > org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62) > at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:269) > at > org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:354) > at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1484) > at > org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:477) > at > org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at javax.swing.AbstractButton.doClick(AbstractButton.java:376) > at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) > at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157) > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException -- This message was sent by Atlassian Jira (v8.20.10#820010)