File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Garbage collection by the JBoss AS 5.1.0.GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Garbage collection by the JBoss AS 5.1.0.GA" Watch "Garbage collection by the JBoss AS 5.1.0.GA" New topic
Author

Garbage collection by the JBoss AS 5.1.0.GA

Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 642
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,
Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Posts: 189
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


WildFly 8 Administration Book - JBoss Tutorials
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

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.


JBoss In Action
Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Posts: 189
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
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

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

Joined: Apr 01, 2009
Posts: 642
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Garbage collection by the JBoss AS 5.1.0.GA
 
Similar Threads
Performance of JBoss
Can I invoke Runtime.gc() in an EJB
can jboss act as ftp server
Tech Word Game
Garbage collection in weblogic server