javamavencompilationintellij-ideagigaspaces

Solve PermGen errors when building in IntelliJ with Maven?


If I get PermGen OutOfMemoryError from the app server when building my project in IntelliJ with Maven, is it the heap that Maven uses that I should increase? I use Win7, 8GB RAM and I get PermGen from the appserver when I rebuild the project with maven.


Solution

  • enter image description here

    add vm opt to mvn -XX:MaxPermSize=128M