Search

GC easy – Universal Java GC Log Analyser

Tag

unable to create new native thread

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.

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.

Up ↑