Unable to run information.gain

135 Views Asked by At

I am trying to run information.gain on 15 million data .The code I have used:

library(FSelector)

weights <- information.gain(is_opened~.,df)

but I am getting this error.

Error in .jnew("java/lang/String", k) : java.lang.OutOfMemoryError: GC overhead limit exceeded

How should I overcome this?

I tried to use this code, still it didn't work:

options(java.parameters = "-Xmx8192m")
0

There are 0 best solutions below