The Garbage Collection log presents three time types: 'user', 'sys', and 'real', essential for analyzing GC events. The author, influenced by Gandhi's focus on customer experience, emphasizes using 'real' time for metrics in http://gceasy.io. Understanding these time types aids in optimizing performance and reducing GC pause times.
The Garbage Collection (GC) log file is essential for diagnosing memory issues, detailing when scavenges or full GC processes occur, memory reclaimed, and GC duration. To generate a log, specific JVM properties must be passed. Analyzing these logs helps identify trends and performance metrics, aiding in the optimization of memory management.
In such admired Google, I uncovered a silly bug, that too in their core search engine product. Are you surprised? Me too.
Recently, I delivered a well-received talk on software testing at VMoksha Technologies in Bangalore, India. The audience showed great motivation, and the event included a photograph with some attendees afterward. Overall, it was an engaging experience sharing insights on software testing with a dedicated team.
A North American shipping monopoly had batch jobs taking 16:04 hours after migrating to Java, causing operational issues with China and US transactions. A consultant improved execution time to 3:14 hours in two months without defects or major changes, despite increased traffic and new requirements, resulting in a 79.8% reduction in processing time.
Eclipse MAT is a powerful JVM Memory Analysis tool. To maximize its efficiency, use the stand-alone version, allocate ample heap space, and enable 'keep unreachable objects' for better visibility. Additionally, adjust settings to display object sizes in KB, MB, or GB for easier comprehension. These tweaks enhance the user experience.
This article aims to summarize the advantages and disadvantages of various garbage collection (GC) algorithms in a single slide. It compiles information from multiple blogs and articles discussing the intricacies, benefits, and drawbacks of each algorithm, providing a concise overview for readers seeking quick insights on GC options.
Is your JVM experiencing Repeated Full GCs? Are you wondering what might have caused it? Are you struggling to fix it? Then you are reading right article.
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.
