java.lang.OutOfMemoryError: Java heap space is resolved by increasing the Xmx3G, but now I am getting "Error occurred during initialization of VM. Could not reserve enough space for object heap. What should I do?
I am trying to execute this
bin\mallet train-classifier --trainer MaxEnt --input train.mallet --output-classifier train.classifier
My train.csv was around 6MB and I changed it to train.mallet file (15MB) by using
bin\mallet import-file --input train.csv --output train.mallet --keep-sequence --remove-stopwords
P.S. I have made changes in both bin/mallet and mallet.bash files to make these changes Xmx3G