Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
239 views
in Technique[技术] by (71.8m points)

java - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

enter image description here

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...