06 Mar

Hi folks,

Recently I ran into this error in my web application:

“java.lang.OutOfMemoryError: PermGen space”

It’s a typical JSP/Spring/WebService application running on Tomcat 6.o and JDK 1.6


Just follow the steps to overcome the above issue

In Eclipse IDE,

1. Stop Tomcat server and all corresponding services
2. Right click on the Tomcat Server,it will open Tomcat Overview Tab.
3. Click on Open launch configuration Link, it will open one prompt box
4. Click on the Arguments tab, in that you will find VM arguments area.
5. Paste the below code at the botton of the text area

-XX:PermSize=64m -XX:MaxPermSize=128m

6. Click Apply, Ok
7. Start tomcat server, it will up successfully.

Happy Coding!.

Get glued to know more updates.

Have a nice day 🙂

Leave a comment

Posted by on March 6, 2013 in Uncategorized


Leave a Reply

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

You are commenting using your 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

%d bloggers like this: