When I type bin/opennlp.bat command ,it gives error as Invalid maximum heap size:Xmx4096 The specified size exceeds the maximum representable size. Could not create java virtual machine
On 4/16/14, William Colen <[email protected]> wrote: > If you are using the binary distribution, execute the command from the > first directory, outside of the bin folder. > > bin/opennlp.bat > > Em quarta-feira, 16 de abril de 2014, William Colen > <[email protected]> > escreveu: > >> Try to execute from opennlp-tools folder. The command would be >> >> bin/opennlp.bat >> >> Em quarta-feira, 16 de abril de 2014, dhanashree thakur < >> [email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');>> >> escreveu: >> >>> when I open opennlp.bat file,it closes itself immediately.and when i >>> write >>> command in cmd promt, set -Xmx4096m to -Xmx1024m ,it give error that >>> environmental variable for -Xmx4096m to -Xmx1024m is not defined. >>> How to set environmental variable for setting this. >>> >>> >>> On Wed, Apr 16, 2014 at 1:29 AM, swapnil marathe <[email protected] >>> >wrote: >>> >>> > On Wed, Apr 16, 2014 at 1:42 PM, dhanashree thakur < >>> [email protected] >>> > >wrote: >>> > >>> > > Invalid maximum heap size: -Xmx4096m >>> > >>> > >>> > this is your problem >>> > >>> > >>> > >>> > open opennlp.bat file edit it : >>> > >>> > if you have 2gb of ram on your pc you can set >>> > -Xmx4096m to -Xmx1024m or -Xmx512m >>> > >>> > so set it according to ram present on your system >>> > >>> >> >> >> -- >> William Colen >> > > > -- > William Colen >
