This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Performance and the fly likes JVM heap size usage tracking? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "JVM heap size usage tracking?" Watch "JVM heap size usage tracking?" New topic
Author

JVM heap size usage tracking?

Justin Chu
Ranch Hand

Joined: Apr 19, 2002
Posts: 209
    
    1
If I set -Xms128m -Xmx128m for an application server how do I constantly track if I have enough heap size?

I'm using windows. So, using windows' peformance tracker, I'd only get 128mb as the allocated memory.
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
If you use the -verbosegc JVM option, the JVM will write the heap utilization before and after garbage collection to stderr.
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
jconsole?


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.<br /> <br />#:^P
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JVM heap size usage tracking?
 
Similar Threads
how to increase heap size in java
optimum heap size for weblogic 6.1
Heap used for a simple program seems too much
Heap size for JVM 1.6
Is there any memory size limit for each and every workspace in eclipse?