I am working on naive bayes
and logistic regression
using prediction io
, it is great product. All are working fine. but when I build the prediction model and deploy, it gives java heap error so I gave this command pio deploy -- --driver-memory 2G
and error removed. I have 4 models and all are taking 2GB. My question is how to optimize the memory uses in prediction io. I have 8GB RAM System and I have to build and deploy 7 different prediction models.
Thanks