Best practices: Java memory arguments for Containers

When migrating Java applications to containers, configuring the Java heap size is essential. The article discusses three JVM options: -XX:MaxRAMFraction, -XX:MaxRAMPercentage, and -Xmx, outlining their usage, limitations, and best practices. The author suggests preferring -Xmx for precise heap configurations and ensuring adequate container memory allocation.

Buggy App – Simulate performance problems

Buggy App is a Java application designed to simulate various performance problems like memory leaks, CPU spikes, and deadlocks. It allows users to test their application’s resilience and performance monitoring tools under stress. Users can launch Buggy App with specific arguments to replicate issues such as high memory usage or network lag effectively.