[ 
https://issues.apache.org/jira/browse/OPENNLP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147462#comment-13147462
 ] 

James Kosin commented on OPENNLP-361:
-------------------------------------

Aliaksandr,

Java doesn't allocate a static heap.  It takes the value passed in as a MAXIMUM 
value that will cause the JVM to crash if the applicaton exceeds.  It also will 
use the swap area of memory also if it exceeds the users free space.
Unfortunately, this means we can't use a physically challenged machine to do 
real work on.

My system has 8G and when training the data memory usage goes to around 3.2 G.

You should also still be able to specify the -Dlog4j option on the cmd line 
when running the batch file.

                
> handling spaces in JAVA_HOME
> ----------------------------
>
>                 Key: OPENNLP-361
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-361
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Command Line Interface
>    Affects Versions: tools-1.5.3-incubating
>         Environment: Windows 7
>            Reporter: Aliaksandr Autayeu
>            Assignee: James Kosin
>              Labels: patch
>             Fix For: tools-1.5.3-incubating
>
>         Attachments: 0001-handling-spaces-in-JAVA_HOME.patch, 
> 0007-handling-spaces-in-JAVA_HOME-quote-on-use-for-succes.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> If JAVA_HOME contains spaces, opennlp.bat fails to execute java. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to