Skip to content
Open access

Optimizing Memory Management and Garbage Collection Overhead in Cloud-Native Java Applications

Sep 2026 · International Journal of Research Publication and Reviews · Vol 7, pp. 1863-1866 · 0 citations

TL;DR

This paper investigates strategies for optimizing memory management and minimizing GC overhead in cloud-native Java applications, and analyzes modern garbage collection algorithms, evaluate native compilation via GraalVM, explore the memory impact of Virtual Threads, and formulate container-aware tuning strategies for modern cloud environments.

Abstract

The transition of Java applications from monolithic, bare-metal enterprise deployments to cloud-native, containerized environments (e.g., Kubernetes) has introduced severe memory management challenges. Traditional Java Virtual Machine (JVM) heuristics—designed for high-throughput, multi-gigabyte monolithic runtimes—often conflict with container memory limits, leading to out-of-memory (OOM) kills, CPU throttling, and excessive garbage collection (GC) latency spikes. This paper investigates strategies for optimizing memory management and minimizing GC overhead in cloud-native Java applications. We analyze modern garbage collection algorithms (G1GC, Generational ZGC, and Shenandoah), evaluate native compilation via GraalVM, explore the memory impact of Virtual Threads (Project Loom), and formulate container-aware tuning strategies for modern cloud environments.

Read PDF

Similar papers

Open access Oct 2026

Uncovering Hidden Memory Costs for Garbage Collection

This work develops a novel low-overhead methodology for measuring the cost of GCs, by combining isolated thread monitoring using a combination of real hardware and calibrated cycle-accurate simulation, which allows for fine-grained analysis of modern GC overheads.

Sudhanshu Agarwal, Saugata Ghose · 0 citations
Book Open access Sep 2026

LMTracer: Fine-Grained and Real-Time Performance Profiling for Production LLM Systems

LMTracer is presented, a fine-grained and real-time performance profiling framework for production LLM services that embed profiling logic into the execution through graph-embedded probing and streaming buffered profiling data to CPUs on demand to keep the execution of user kernels uninterrupted.

Wei Liu, Yong-Chao He, Bo-Han Zhao et al. · 0 citations
Preprint Aug 2026

MEMPOWER: Efficient Power Management with Fine-grained Memory Analysis and Modeling for HPC Workloads

MEPOWER is proposed, a flexible, model-based approach to exposing compute/data movement imbalance that characterizes the fine-grained memory behavior of parallel workloads that demonstrates a reduction in EDP on a range of HPC benchmarks with minimal impact on execution time when compared to the standard OS/hardware-ma...

Nanda Velugoti, Joseph Manzano, Andrés Márquez et al. · 0 citations
Conference Sep 2026

Ouros: A Dataflow-Driven Processor for Lazy Functional Programming Languages

This paper presents Ouros, a pipelined processor for lazy functional programming languages based on combinator graph reduction. Ouros overcomes the inherent sequentiality of graph reduction through dataflow-driven execution and automatic fine-grained multi-threading. It maintains pipeline utilisation by hiding per-thre...

Yu-Kang Xie, Craig R. Ramsay, Robert J. Stewart et al. · 0 citations
Preprint Sep 2026

ThreadShift: Transparent Thread-Level Offloading on Transient Cloud Resources Using MPKs

Transient cloud resources offer significant cost savings, but their unpredictability makes them hard to use for applications that cannot be safely restarted after reclamation. Existing approaches require application changes or rely on coarse-grained checkpointing, whose cost limits its benefits. We present ThreadShift,...

Antoine Murat, Clément Burgelin, R. Guerraoui · 0 citations
Preprint Sep 2026

Opportunistic ZGC: Leveraging Idle Cores for More Effective Concurrent Garbage Collection

Managed language runtimes often provide concurrent garbage collectors so that latency-critical applications with large working sets can keep running while most collection work proceeds in the background. ZGC is a production-quality, generational, concurrent collector in OpenJDK with sub-millisecond pause times. While Z...

Jacob Malloy, Michael R. Jantz, Terry R. Jones · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.