Java Garbage Collector Tuning and Selection

2024-02-10 | #Garbage Collection #Java #JVM tunning #Performance & optimization

Index Monitoring Garbage collections Turning off automated heap allocation sizing Tuning garbage collection Old and Young allocation Survivor space allocation Generation needed to become old Selecting a garbage collector Types G1 garbage collector Tuning the G1 garbage collector String de-duplication Misc Viewing running java processes and PID Viewing enabled flag on a process Monitoring Garbage collections We can pass -verbose:gc VM argument to monitor the garbage collection.

Continue reading 


Java Garbage Collection

2024-02-09 | #Garbage Collection #Java #JVM tunning #Performance & optimization

Index Garbage Collection System.gc() Changing size of Heap Soft Leaks Heap dump Generating heap dump Viewing heap dump Generational Garbage Collector Introduction Categories of Young Generation Viewing GC generations in VisualVM Garbage Collection Garbage collection in Java is a mechanism that automatically manages the memory used by a Java program (process to free up memory).

Continue reading 


Hello World

2023-05-23 | #AWS #Java #Leetcode #Node.js

Hello World, I started this blog to share my daily learning progress. I love to solve daily Leetcode challenges. I use Java, Nodejs and AWS for backend development. You can find more about me in About section.

Continue reading 