You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2018/08/29 01:44:00 UTC

[jira] [Created] (OPENNLP-1216) opennlp command should allow users to set heap size

Koji Sekiguchi created OPENNLP-1216:
---------------------------------------

             Summary: opennlp command should allow users to set heap size
                 Key: OPENNLP-1216
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1216
             Project: OpenNLP
          Issue Type: Documentation
          Components: Command Line Interface
    Affects Versions: 1.9.0
            Reporter: Koji Sekiguchi
             Fix For: 1.9.1


When I used ParserTrainer, I got OutOfMemoryError. I checked opennlp shell script, I found uses cannot change the heap size without editing the script.

I think we should allow uses to set it by doing like this:

{code}
$ JAVA_HEAP=4096m opennlp ParserTrainer ...
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)