jpmml / r2pmml

R library for converting R models to PMML
GNU Affero General Public License v3.0
73 stars 18 forks source link

Error with very large random forest. #44

Closed cody-jor closed 6 years ago

cody-jor commented 6 years ago

I've been trying to use your r2pmml package on github to transform a random forest into a pmml file. I've run into an error and I was wondering if this was a generalized problem, or something I'm doing wrong. I've included a screenshot of what my code looks like, as well as a glimpse of what my training data looks like. screenshot 11

I've tried running the example code provided in the package with the iris data set, and it works fine. Any help would be appreciated.

vruusmann commented 6 years ago

You can solve java.lang.OutOfMemoryError by increasing JVM heap size: https://github.com/jpmml/r2pmml#advanced-functionality