Maven PermGen Space

In Window

1) Control Panel
2) System and Security
3) System
4) Advanced System settings
5) Click Advanced tab
6) Click Environment Variables…
7) From the user variable session click the new button
8) key in MAVEN_OPTS as variable name and
9) key in -Xmx512m as variable value

In Linux

From your terminal

export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"

In Maven

   [.. code omitted ..]
      [.. code omitted ..] 
     [.. code omitted ..]
   [.. code omitted ..]

Maven PermGen Space

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.