Wednesday, November 25, 2015

Spark 1.4+ PermGenSize Error - IntelliJ IDEA

Error : 


java.lang.OutOfMemoryError: PermGen space
Stopping spark context.
Exception in thread "main" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"


Solution : 

Give the following to the VM options.

Go to Run => Edit Configuration => Add the following line (I am giving 1GB, maxPermSize 512MB)

 -Xmx1024m -XX:MaxPermSize=512m -Xms512m





Thats it !!!

1 comment:

  1. Your thoughtful posts are full of valuable insights. Thank you for your genuine writing and the inspiration you provide. Geometry Dash Unblocked fast-paced gameplay tests your reflexes and timing, offering a thrilling and challenging experience that keeps you engaged from start to finish.

    ReplyDelete