Search

GC easy – Universal Java GC Log Analyser

Tag

Java

Java threads – may not be memory efficient?

The study investigates memory consumption of Java threads, revealing that both dormant and active threads consume equal memory despite varying stack usage. Conducted with two programs, one with empty and another with loaded stack frames, results showed both consumed the same 4686 MB. Efficient thread management and stack size optimization are recommended.

Health Check Status Page

The health check status page provides detailed diagnostic information in JSON format for the application and JVM instance. Key sections include memory usage, operating system details, class loading statistics, compilation data, threading metrics, memory pool usage, storage info, SAML details for SSO, and system properties. Access via a specified URL.

MEMORY WASTED BY SPRING BOOT APPLICATION

A study on the Spring Boot Pet Clinic application revealed significant memory wastage, with 65% of memory used inefficiently due to duplicate strings and improper collection implementation. This inefficiency can escalate cloud computing costs, as memory saturation often occurs before other resources. Writing memory-efficient code could significantly reduce operational costs and enhance customer experience.

Allocation Stalls in Java ZGC: Causes and Solutions

An Allocation Stall in concurrent Garbage Collection happens when an application creates objects faster than the system can free up memory, causing a brief pause in object creation. This can be caused by slow memory cleanup, high object creation rates, or fragmented memory. Solutions include adjusting heap size, increasing the number of cleanup threads, and improving memory use.

TROUBLESHOOT OUTOFMEMORYERROR: UNABLE TO CREATE NEW NATIVE THREAD

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

JAVA FANS SOUL FELT LETTER!

Dear Java!

We have been your childhood friends since 1995. Now you have grown-up and looking different (in fact totally different in some developers’ hands).

Up ↑