deepdive icon indicating copy to clipboard operation
deepdive copied to clipboard

CoreNLP server takes forever to start in Docker

Open yejunjin opened this issue 7 years ago • 4 comments

Hi, I install deepdive_sandbox_docker.

jovyan@4891b7af232a:/ConfinedWater$ deepdive corenlp start CoreNLP server at CORENLP_PORT=24393 starting...

take forever to start, but nothing goes on.

yejunjin avatar Mar 13 '17 08:03 yejunjin

Hi @EadrenKing , it could take 1 min or so to get started. If it took much longer than that, one possibility is that the available memory was low and the OS started paging. Perhaps check the OS stats to see if that's the case?

alldefector avatar Mar 13 '17 16:03 alldefector

Hi I have exactly same problem in Ubuntu 16.04 with DeepDive (v0.9.0rc2-1063-g7b82f5a). Memory was free enough, OS doesn't even use swap space.

mcavdar avatar Mar 22 '17 13:03 mcavdar

Problem is solved for me by adding env variable "CORENLP_JAVAOPTS=-Xmx8g".

mcavdar avatar Mar 23 '17 13:03 mcavdar

On my Mac, the problem only solves by setting Docker Memory limit to 8.0 GB and %env CORENLP_JAVAOPTS=-Xmx4g in the Jupyter notebook.

vochicong avatar May 22 '17 05:05 vochicong