0

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")
James Z
  • 12,209
  • 10
  • 24
  • 44
Prajna
  • 129
  • 1
  • 8
  • Possible duplicate of https://stackoverflow.com/questions/1393486/error-java-lang-outofmemoryerror-gc-overhead-limit-exceeded – zx8754 Jan 04 '18 at 08:34
  • I have already looked into this one...But it didn't solve my purpose.Could you please help me out.. – Prajna Jan 04 '18 at 08:40

0 Answers0