deepdive
deepdive copied to clipboard
CoreNLP server takes forever to start in Docker
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.
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?
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.
Problem is solved for me by adding env variable "CORENLP_JAVAOPTS=-Xmx8g".
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.