imageqa-qgen icon indicating copy to clipboard operation
imageqa-qgen copied to clipboard

JVM out of Memory !!

Open amandalmia14 opened this issue 6 years ago • 0 comments

Hi,

If I provide a text file having the size of 35KB, after going for 6-8 sentence it says JVM out of Memory. PFB the error.


*** WARNING!! OUT OF MEMORY! THERE WAS NOT ENOUGH *** *** MEMORY TO RUN ALL PARSERS. EITHER GIVE THE *** *** JVM MORE MEMORY, SET THE MAXIMUM SENTENCE *** *** LENGTH WITH -maxLength, OR PERHAPS YOU ARE *** *** HAPPY TO HAVE THE PARSER FALL BACK TO USING *** *** A SIMPLER PARSER FOR VERY LONG SENTENCES. ***


Sentence has no parse using PCFG grammar (or no PCFG fallback). Skipping... Exception in thread "main" edu.stanford.nlp.parser.common.NoSuchParseException at edu.stanford.nlp.parser.lexparser.LexicalizedParserQuery.getBestParse(LexicalizedParserQuery.java:403) at edu.stanford.nlp.parser.lexparser.LexicalizedParserQuery.getBestParse(LexicalizedParserQuery.java:375) at edu.stanford.nlp.parser.lexparser.ParseFiles.processResults(ParseFiles.java:272) at edu.stanford.nlp.parser.lexparser.ParseFiles.parseFiles(ParseFiles.java:216) at edu.stanford.nlp.parser.lexparser.ParseFiles.parseFiles(ParseFiles.java:75) at edu.stanford.nlp.parser.lexparser.LexicalizedParser.main(LexicalizedParser.java:1518)

TIA

amandalmia14 avatar May 22 '18 12:05 amandalmia14