Note that there are some explanatory texts on larger screens.

plurals
  1. PO"AWT-EventQueue-1" java.lang.OutOfMemoryError: Java heap space
    text
    copied!<p>I've to tag sentence using stanford parser</p> <p>for each sentence i load the EnglishPCFGrammer file and find the tags using stanford parser, it works good for single sentence but when i give multiple sentences, i get this exception.. someone help</p> <hr> <pre><code>Loading parser from serialized file englishPCFG.ser.gz ... done [7.7 sec]. Exception in thread "AWT-EventQueue-1" java.lang.OutOfMemoryError: Java heap space at edu.stanford.nlp.parser.lexparser.ExhaustivePCFGParser.createArrays(ExhaustivePCFGParser.java:2056) at edu.stanford.nlp.parser.lexparser.ExhaustivePCFGParser.considerCreatingArrays(ExhaustivePCFGParser.java:2027) at edu.stanford.nlp.parser.lexparser.ExhaustivePCFGParser.parse(ExhaustivePCFGParser.java:315) at edu.stanford.nlp.parser.lexparser.LexicalizedParser.parse(LexicalizedParser.java:375) at edu.stanford.nlp.parser.lexparser.LexicalizedParser.apply(LexicalizedParser.java:279) at finalproj.logic.SentenceTagger.tagSentence(SentenceTagger.java:25) at finalproj.logic.SentenceToXMLWriter.addSentence(SentenceToXMLWriter.java:62) at finalproj.logic.SentenceSplitter.splitFile(SentenceSplitter.java:24) at finalproj.ui.LoadReqFile.jBtnSentenceSplitActionPerformed(LoadReqFile.java:126) at finalproj.ui.LoadReqFile.access$200(LoadReqFile.java:21) at finalproj.ui.LoadReqFile$3.actionPerformed(LoadReqFile.java:70) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload