CoreNLP: sentence analysis failed, possibly due to lack of memory

When starting Stanford CoreNLP 3.7.0, I observe this:

WARNING: Parsing of sentence failed, possibly because of out of memory.
Will ignore and continue: Just a year ago , the public outrage was over 
Sovaldi , a new hepatitis C drug being sold by Gilead Sciences for 
$ 1,000 a pill , or $ 84,000 for a course of treatment . 

I have seen this before, but it was when the frustration of the sentence went bad and gave a sentence that was very long. The cases that I see now, as above, are reasonable in size and correctly divided sentences.

Why can this happen, and what should I do to fix it?

+4
source share
1 answer

, , , 64- JRE . , IDE , Eclipse Windows :

  • 64- JRE ( Windows Offline/64 )
  • Eclipse "Window..Preferences..Java..Installed JRE", , JRE (, , "", ).
  • Java, "". "/", , "". "" VM -Xmx30G

30 ( , , ), . , , , , .

+1

Source: https://habr.com/ru/post/1668081/


All Articles