If I am building a projecting using:
mvn install
I see the following:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space
I’m not sure where I would be updating my java options?
I’m running this on ubuntu.
Tweak your maven options. Generally this is set in /etc/mavenrc, ${HOME}/.mavenrc, or your Windows environmental properties dialog box.
has worked for some, you might need to bump the numbers up (depending on your circumstance)
The first option “-Xmx512M” configures maximum memory, while the second option “-XX:MaxPermSize=512M” allows PermGen space to grow as large as (in this case) the maximum memory.