vote up 4 vote down
star

For profiling I'm currently using jvisualvm (comes with JDK 6) and for monitoring garbage collection I use, visualgc from the jvmstat bundle.

At the moment, I'm looking for ways to collect the maximum amount of memory during collections (both major and minor) with emphasis on collecting the most amount of memory during major gcs.

Our primary focus is on reducing the number of small minor collections and making the most out of major collections. Max heap size we can have for the said application is 1G.

Hope you can direct me to the right references and tools. Thanks.

flag
1 
While doing research yesterday, I also found jstat to be very useful particularly in logging the amount of time it took for the minor and major gc collections. – paul_sns Jan 28 at 3:40

1 Answer

vote up 3 vote down

Maybe you will find JMeter useful. It's an Apache project designed to load test functional behavior and measure performance. It's also what's being used by most of the Java developers I know. Good luck! Also, I hope I'm not breaking any rule here, there is a performance series talks by members of the PinoyJUG community. The first of which will be held on Feb 26, 2010. Look for it on yahoogroups if you're interested.

link|flag
Thanks for the suggestion. We're actually already using JMeter. We find it pretty useful especially with its support for Bamboo integration where you can monitor the improvement/degradation in the performance of your apps across builds. What we're looking for at the moment is a way to maximize throughput and minimize short pause times by tuning the JVM flags. – paul_sns Feb 10 at 9:17

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.