| By Jinwoo Hwang | Article Rating: |
|
| July 16, 2009 11:45 PM EDT | Reads: |
7,519 |
The analysis tells us that the tenured generation got exhausted and the tool recommends that we increase the Java heap size with the -Xmx command-line option. If it does not help, we can use IBM's HeapAnalyzer to investigate the Java heap dump. If we click on chart icon, we can see what's happening visually in Figure 3.
By default, Java heap usage in tenured generation after garbage collection is shown in red. The X axis represents time. The Y axis represents the size of the Java heap (left) or milliseconds (right).
Each red dot represents each Java garbage collection activity. The red-dotted vertical line represents Java heap exhaustion. We can see that Java heap usage in tenured generation went up and then we had Java heap exhaustion. After that, Java heap usage in tenured generation plateaued all the way to the end of the Java Virtual Machine execution.
By clicking on the "Max Tenured" button, we can check whether tenured generation reached its maximum size at the plateau (see Figure 4).
We can see that Java heap usage in tenured generation reached maximum size. You might have already noticed that increasing the maximum size of tenured generation would only delay the java.lang.OutOfMemoryError. So we do not need to try with a larger -Xmx command-line option. Let's move on and run the IBM HeapAnalyzer to investigate the Java heap dump.
More details about IBM Pattern Modeling and Analysis Tool for Java Garbage Collector is outside of scope of this article. Further information is available in this Webcast replay: "How to analyze verbosegc trace with IBM Pattern Modeling and Analysis Tool for IBM Java Garbage Collector".
Published July 16, 2009 Reads 7,519
Copyright © 2009 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Jinwoo Hwang
Jinwoo Hwang is a software engineer, an inventor, an author, and a technical leader within IBM WebSphere Application Server Technical Support in Research Triangle Park, North Carolina. He joined IBM in 1995 and worked with IBM Global Learning Services, IBM Consulting Services, and development prior to his current position at IBM. He is an IBM Certified Solution Developer and IBM Certified WebSphere Application Server System Administrator as well as a SUN Certified Programmer for the Java platform. He is the architect and creator of the following technologies:
- IBM HeapAnalyzer
- IBM Pattern Modeling and Analysis Tool for Java Garbage Collector
- IBM Thread and Monitor Dump Analyzer for Java
- IBM Trace and Request Analyzer for WebSphere Application Server
- IBM Web Server Plug-in Analyzer for WebSphere Application Server
- Database Connection Pool Analyzer for IBM WebSphere Application Server
- Performance Analysis Tool for Java for Windows
- Web Services Validation Tool for WSDL and SOAP
- Processor Time Analysis Tool for Linux
- IBM SDK Installer
- IBM MDD4J
Mr. Hwang is the author of the book C Programming for Novices (ISBN:9788985553643, Yonam Press, 1995) as well as the following webcasts and articles:
- How to analyze verbosegc trace with IBM Pattern Modeling and Analysis Tool for IBM Java Garbage Collector
- Using IBM HeapAnalyzer to diagnose Java heap issues
- Analysis of hangs, deadlocks, and resource contention or monitor bottlenecks
- How to Diagnose Java Resource Starvation
- Anatomy of a Java Finalizer
- Java Network in automobiles, Computer Magazine 1998
- Embedded Java Architecture, Computer Magazine 1997
- Introduction of Java, Computer Magazine 1997
- Java Security Architecture, Computer Magazine 1997
- Java Electronic Commerce Architecture, Computer Magazine 1997
- JavaOS Architecture, Computer Magazine 1997
- JavaBeans Overview, Computer Magazine 1997
- Java Database Connectivity Architecture, Computer Magazine 1997
- Java Object Oriented Distributed Computing Architecture, Computer Magazine 1997
- Java Enterprise Technology, Computer Magazine 1997
- Inside of a Digital Signal Processor, Computer Magazine 1997
- IBM Aptiva overview, IBM PC World 1996
Mr. Hwang is the author of the following IBM technical articles:
- VisualAge Performance Guide,1999
- CORBA distributed object applet/servlet programming for IBM WebSphere Application Server and VisualAge for Java v2.0E ,1999
- Java CORBA programming for VisualAge for Java ,1998
- MVS/CICS application programming for VisualAge Generator ,1998
- Oracle Native/ODBC application programming for VisualAge Generator ,1998
- MVS/CICS application Web connection programming for VisualAge Generator ,1998
- Java applet programming for VisualAge WebRunner ,1998
- VisualAge for Java/WebRunner Server Works Java Servlet Programming Guide ,1998
- RMI Java Applet programming for VisualAge for Java ,1998
- Multimedia Database Java Applet Programming Guide ,1997
- CICS ECI Java Applet programming guide for VisualAge Generator 3.0 ,1997
- CICS ECI DB2 Application programming guide for VigualGen, 1997
- VisualGen CICS ECI programming guide, 1997
- VisualGen CICS DPL programming guide, 1997
![]() |
vishetty 07/30/09 07:28:00 AM EDT | |||
Hi, |
||||
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- Confessions of a Ulitzer Addict
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- It's the Java vs. C++ Shootout Revisited!
- Cloud Computing Can Revitalize Your Career as Software Developer
- IBM Could "Reinvent" Java: Mills
- Oracle & Cloud Computing: Exclusive Q&A with SVP Richard Sarwal
- A Brief History of Cloud Computing
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?






































