Solve PermGen errors when building in IntelliJ with Maven?

24.4k Views Asked by At

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.

1

There are 1 best solutions below

2
On BEST ANSWER

enter image description here

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