• 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

Garbage collection by the JBoss AS 5.1.0.GA

 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Java Ranch Francesco!

With regard to your new book, do you cover any configuration of the garbage collection used by JBoss AS? I have problems, especially during testing, where multiple re-deployments of an application cause the application server to crash, requiring that I restart the server.

I've read that this is due to the fact that some web application component classes are placed in a special cache area that is not normally garbage collected.

Thanks,
 
author
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mark E Hansen wrote:Welcome to Java Ranch Francesco!

With regard to your new book, do you cover any configuration of the garbage collection used by JBoss AS? I have problems, especially during testing, where multiple re-deployments of an application cause the application server to crash, requiring that I restart the server.

I've read that this is due to the fact that some web application component classes are placed in a special cache area that is not normally garbage collected.

Thanks,


Hi Mark. Well honestly the garbage collection is not covered in the book since it's a matter of JVM configuration. The book focuses on developing Java EE applications on JBoss. There are plenty of administration hints but still related to JBoss AS.
Not sure what you are talking about, maybe the Perm Gen space ? this typically increases in classes that load/unload classes dynamically. Hope I can help you in some other areas....
regards,
Francesco
 
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
Not to steal Francesco's thunder (it's his book promotion week, after all), but JBoss in Action has an entire chapter on performance tuning, including heap tuning and sizing.
 
Francesco Marchioni
author
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Peter Johnson wrote:Not to steal Francesco's thunder (it's his book promotion week, after all), but JBoss in Action has an entire chapter on performance tuning, including heap tuning and sizing.


Yes it's true and it is a very well written chapter too. Just in case somebody would raise the question which book I can suggest for him/her, I'd say, using Amazon figures, they are "Frequentely bought together items"
regards
Francesco
 
Peter Johnson
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
Yes, the two books are very complementary. Francesco's focuses on application development while JBoss in Action focuses on configuration. While there is some overlap, there are many unique things in each book.
 
Mark E Hansen
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to both of you. I love reading multiple books on a topic, as you get information from different perspectives, making it much more valuable. I already have Peter's book. Looks like I'll need to get Francesco's next!
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic