Re: java heap space error - Naive Bayes

2015-02-23 Thread chirag lakhani
This is what I am running from command line mahout trainnb -i /trainingMahout/ -o /outputNaiveBayes/ -el -li /labelIndex -a .5 -ow On Mon, Feb 23, 2015 at 1:17 PM, chirag lakhani wrote: > I am trying to train a Naive Bayes model in Mahout and I keep getting a > java heap space error. It is a

java heap space error - Naive Bayes

2015-02-23 Thread chirag lakhani
I am trying to train a Naive Bayes model in Mahout and I keep getting a java heap space error. It is a strange thing because I am using a hashing vectorizer where I am fitting 1-gram and 2-gram tokens into a vector of size 2^20. My cluster consists of 7 nodes with 16 gb of ram and each time I run