There are four common categories of memory usage problems in Java:
- Java heap memory leaks
- Heap fragmentation
- Insufficient memory resources
- Native memory leaks
- Insertion without deletion into collections
- Unbounded caches
- Un-invoked listener methods
- Infinite loops
- Too many session objects
- Poorly written custom data structures.
- Configuration issues (allocating too little memory for heap).
- System capacity issues(too little physical memory).
- Type-II JDBC drivers
- fragmentation in the non-heap segment of the Java process's address space.
- In the first stage, a lightweight memory leak detection mechanism running within the production WebSphere Application Server uses inexpensive, universally available Java heap usage statistics to monitor memory usage trends, and provides early notification of memory leaks. An automated heap dump generation facility (available in WebSphere Application Server running on IBM JDKs)generates multiple heap dumps that have been coordinated with sufficient memory leakage to facilitate comparative analysis using MDD4J.
- The second stagethe Memory Dump Diagnostic for Java (MDD4J) is used to analyze heap dumps outside the production application server.
No comments:
Post a Comment