Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PermGen Space problem???

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I get the following error and I have two question regarding it:

1. What is the PermGen Space error. Is it to do with memory?
2. What is the difference between "exception" and "root cause"?

Thanks in advance,

Julien.

 
Bagwan Mehrat
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Julien Martin:

1. What is the PermGen Space error. Is it to do with memory?
2. What is the difference between "exception" and "root cause"?

I noticed the PermGen space error happens in JBoss after I've hot deployed an application many times without restarting JBoss. There must be a memory leak in the deployment routine. If that's the case, then it's something that probably won't affect a production machine, but it's annoying to a software developer.

I assume that the exception is the ServletException, and the root cause is the Exception that is returned by ServletException.getRootCause()?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic