I am getting this error while running Opennlp OpenNLPNEDetector.xml from eclipse 3.3.1.1. It shows me error while loading the model files into memory. I have tried to increase the heap size in eclipse.ini file increasing by 512 max size. When I try to assign more size for Xmx parameter (e.g. 1024M/1g), then eclipse doesn't support it.

Eclipse launches your process in a seperate vm, you must give this seperate vm more heap memory with the Xmx parameter. You can do it in your debug/run configuration in the arguments tab, and then there is a text field for vm parameters.

Jörn

Reply via email to