fixing a java heap error?

I am trying to run a decision tree model on my Mac in R Studio but get this error, can someone point me in the right direction to solve it?

Error in .jcall(o, "Ljava/lang/Class;", "getClass") :
java.lang.OutOfMemoryError: Java heap space

Hi, welcome!

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.