Reputation: 37
HI i am trying simple example from this official website of stanford CoreNLP example: https://stanfordnlp.github.io/CoreNLP/api.html
***** TokensRegexNERAnnotator ner.fine.regexner: Read 585586 unique entries from 2 files Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.LinkedHashMap.newNode(Unknown Source) *****
i had tried all solutions available on net, but i am unable to resolve issue i had tried by increasing memory size in eclipse.ini file also tried by putting -Xms1024m in run configuration arguments. I am working on my thesis tool please help me out i am stuck i am using eclipse oxygen and stanford-corenlp-3.9.0
Thanks!
Upvotes: 0
Views: 639
Reputation: 37
final done by changing to -Xms3056m in run configuration arguments, mean i need more RAM because NLP takes much RAM to execute and compute
Upvotes: 1
Reputation: 308743
Eclipse is an IDE. It has nothing to do with your problem.
This is a JVM runtime issue.
You need to answer a few questions:
You can increase the max heap size beyond 1GB.
Upvotes: 0