• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss in Action Permgen Out of Memory Error

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to the authors -

I love using JBoss AS but one of the bad things is after a few publishes in eclipse I need to restart the server due to permgen being out of memory.

I know this is due to the Sun JVM implementation and is not a JBoss issue but it is frustrating nonetheless (especially when tomcat doesn't to suffer from this problem to quite the same extent).

My colleagues and I have played around with some memory settings (this was helpful) but there seems to be no definitive solution for this problem.

Out of interest what memory settings do you use when developing in JBoss?

Thanks -
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I use the default settings. But then I typically restart (and sometimes rebuild*) the app server when deploying an application. I also tend to use Eclipse as a glorified text editor rather than as a development environment (I have no patience for wizards that require me to fill in a bunch of forms and click a bunch of buttons when I can just as easily copy/paste some text into a source file). I also do all compiling and deploying in Maven or Ant (I turn off autobuild in Eclipse).

*See the build scripts in the book's source code for how I do this.
 
Not so fast naughty spawn! I want you to know about
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic