JVM settings for permgen out of memory errors

Just add to your JVM settings the following switchs:
-XX:PermSize=64m -XX:MaxPermSize=256m

This will avoid the out of memory permgen space error.
You may want to adjust these values for something smaller or bigger.

Also adjust your JVM memory with the following lines:
-Xms256m -Xmx512m for example (min and max memory)

This entry was posted in 1. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

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