Search

GC easy – Universal Java GC Log Analyser

Category

Java Memory Leak

TROUBLESHOOT OUTOFMEMORYERROR: UNABLE TO CREATE NEW NATIVE THREAD

Solves all OutOfMemoryError problems. There are 8 flavors of java.lang.OutOfMemoryError.

ECLIPSE MAT – TIDBITS

Eclipse MAT is a powerful JVM Memory Analysis tool. To maximize its efficiency, use the stand-alone version, allocate ample heap space, and enable 'keep unreachable objects' for better visibility. Additionally, adjust settings to display object sizes in KB, MB, or GB for easier comprehension. These tweaks enhance the user experience.

MEMORY LEAK IN JAVA EXECUTOR!

The article discusses an unexpected memory leak caused by Java's ThreadPoolExecutor, resulting in "java.lang.OutOfMemoryError." Despite local variable scoping, worker threads persist in memory after job execution. The solution is to invoke the "shutdown()" method, which releases the threads, preventing continuous memory consumption during repeated method calls.

JBOSS SHUNNING, UNLOADING CLASS SUN.REFLECT

I had this interesting problem with a major shipping/logistics company. Their application was running on Java 6, JBoss Cluster in RedHat Linux platform.

DATASTAX CASSANDRA NETTY OUTOFMEMORYERROR

The application connecting to Apache Cassandra via the DataStax Java driver encountered a java.lang.OutOfMemoryError due to an excessive number of runnable threads, mainly from the netty library. The issue arose when Cassandra ran out of space. Allocating more space resolved the error, highlighting the need for application resilience.

OUTOFMEMORYERROR – BEAUTIFUL 1 PAGE DOCUMENT

The document discusses the various types of OutOfMemoryErrors, detailing their distinct causes and corresponding fixes, all summarized on one page. The author appreciates the document's aesthetic appeal and suggests it can be printed as a decorative and functional item for an office space.

JHAT – HEAP DUMP ANALYSIS

In this article, we will see how to analyze a heap dump in detail using ‘jhat’ tool. It’s easier to explain Heap analysis process with an example Memory leak program.

Up ↑