Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space #10

Open
nupurjaiswal opened this issue Oct 11, 2017 · 0 comments

Comments

@nupurjaiswal
Copy link

Hi, I'm getting an OutOfMemmoryError while running the program. Below is the complete exception:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at org.json.simple.parser.Yylex.zzUnpackCMap(Yylex.java:302) at org.json.simple.parser.Yylex.<clinit>(Yylex.java:40) at org.json.simple.parser.JSONParser.<init>(JSONParser.java:34) at edu.jhu.nlp.language.Language.getJsonObject(Language.java:70) at edu.jhu.nlp.language.Language.<init>(Language.java:47) at edu.jhu.nlp.wikipedia.WikiTextParser.<init>(WikiTextParser.java:45) at edu.jhu.nlp.wikipedia.WikiPage.setWikiText(WikiPage.java:39) at edu.jhu.nlp.wikipedia.SAXPageCallbackHandler.endElement(SAXPageCallbackHandler.java:55) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:597) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:676) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1646) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324) at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845) at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201) at edu.jhu.nlp.wikipedia.WikiXMLSAXParser.parse(WikiXMLSAXParser.java:68) at com.accenture.WikiLogic.main(WikiLogic.java:222)

Can you please assist regarding this? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant