This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Jboss-4 Garbage collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss-4 Garbage collection" Watch "Jboss-4 Garbage collection" New topic
Author

Jboss-4 Garbage collection

Peter Perere
Greenhorn

Joined: Sep 27, 2006
Posts: 8
I have two Jboss servers running In AMD Athlon(TM) XP 3000+ machine with a memory of 2 GB. Some times the memory usage of Java shows very high . Is there anything can be done so that the Jvm garbage collects and free up some memory frequently. Please suggust me a good Configuration for Jvm for doing this. The application running in Jboss uses EJB.....
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

What are your current JVM -Xmx and -Xms values for what the JVM gets as its heap size.

Also, since I don't have any links in my back pocket right now. Try googling JVM tuning and read a good document on it. Good Luck.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jboss-4 Garbage collection
 
Similar Threads
OutOfMemory error but application continues
Forcing Garbage collection
Criteria.list() hanging after a few runs
Garbage collection
when jvm crash ?