Type: Posts; User: Ram Lakshmanan

Page 1 of 2 1 2

Search: Search took 0.17 seconds.

  1. View Post

    In this article, we have attempted to answer most common questions around System.gc() API call. We hope it may be of help.

    What is System.gc()?

    System.gc() is an API provided in java, Android,...
  2. Large or small memory size for my App?

    Should I be running my application with few instances (i.e. machines) with large memory size or a lot of instances with small memory size? Which strategy is optimal? This question might be confronted...
  3. what are the JVM arguments for troubleshooting outofmemoryError

    JVM has provided helpful arguments to deal with OutOfMemoryError. In this article, we would like to highlight those JVM arguments. It might come handy for you when you are troubleshooting...
  4. View Post

    Troubleshooting OutOfMemoryError or any memory related problem is done manually even in 2019. Troubleshooting and identifying the root cause of OutOfMemoryError can even be automated, by following...
  5. Subtle differences between 32-bit JVM and 64-bit JVM

    There are a few distinct differences and subtle nuances between 32-bit JVM and 64-bit JVM. We thought we will try to clarify them through this question & answer article.

    Do I need to understand...
  6. 3 Popular myths about Garbage collection

    There are 3 highly popular myths about Garbage Collection. Let’s review those myths and the actual truth behind them.

    Myth #1: Minor GC don’t pause the application
    There are different types of...
  7. View Post

    Heap Dumps are vital artifacts to diagnose memory-related problems such as slow memory leaks, Garbage Collection problems, and java.lang.OutOfMemoryError.They are also vital artifacts to optimize the...
  8. Replies

    View Post

    Sometimes users want to analyze GC logs for a certain time interval instead of analyzing the entire GC Log. Here are the use cases for it:

    a. If GC logs are not configured to roll over (which is...
  9. How Java applications can be remotely debugged?

    Few problems might happen only on test or production servers. It may not be reproducible in your local machine. In those circumstances you want to connect your IDE to the remote test (or production)...
  10. Replies

    How to enable Java 9 GC Logs?

    GC logs are vital artifacts to troubleshoot memory/CPU related problems and optimize applications performance. In Sep 2017, the much-awaited java 9 got released. In this release, GC logging is...
  11. Replies

    Key Sections of GCeasy Report

    Key Sections of GCeasy Report

    Reference URL:
  12. Total time for which application threads were stopped

    Lot of us know that JVM pauses entire application for garbage collection. But there are also other reasons for which JVM pauses application. For certain VM operations, certain JVMTI...
  13. Try to avoid -XX:+UseGCLogFileRotation

    Developers take advantage of the JVM argument -XX:+UseGCLogFileRotation to rotate GC log files.


    "-XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/home/GCEASY/gc.log...
  14. View Post

    Let me start this article with an interesting statistic (based on the research conducted by the JDK development team):

    + 25% of Java applications memory is filled up with strings.
    + 13.5% are...
  15. Replies

    CMS GC deprecated in JDK 9

    Popular Concurrent Mark Sweep (CMS) GC algorithm is deprecated in JDK 9. According to JEP-291, this decision has been made to reduce the maintenance burden of GC code base and accelerate new...
  16. View Post

    Eclipse Memory Analyzer (MAT) is a powerful tool for heap dump analysis. It has several great features to debug memory problems effectively. ‘Incoming references’ and ‘outgoing references’ is one...
  17. Difference between Shallow Heap and Retained Heap

    Eclipse MAT (Memory Analyzer Tool) is a powerful tool to analyze heap dumps. It comes quite handy when you are trying to debug memory related problems. In Eclipse MAT two types of object sizes are...
  18. Replies

    Types of VirtualMachineError

    Java.lang.VirtualMachineError is thrown when Java virtual machine encounters any internal error or resource limitation which prevents it from functioning. It’s a self-defensive mechanism employed by...
  19. Replies

    How to troubleshoot CPU problems?

    Diagnosing and troubleshooting CPU problems in production that too in cloud environment can become tricky and tedious. Your application might have millions of lines of code, trying to identify the...
  20. Replies

    GC Log analysis compliments APM

    Recently a smart engineering manager from a major financial institution asked the question: ‘We are already using APM tool (AppDynamics), why do we need to use GC log analysis tool (GCeasy)?’. Fair...
  21. How much memory is my application wasting?

    In early 1970s 1 MB was costing 1 million $. Now 1 mb is costing fraction of that cost. There is no comparison. This is one of the reasons why engineers and enterprises don’t worry about memory any...
  22. Memory efficient:Eclipse or Intellij?

    Eclipse and IntelliJ are the two competing IDEs in the industry. There are lot of passionate discussion going in the social media, forums to declare the winner in this race. We thought it would be a...
  23. Replies

    Remote debugging Java applications

    Few problems might happen only on test or production servers. It may not be reproducible in your local machine. In those circumstances you want to connect your IDE to the remote test (or production)...
  24. StackOverFlowError causes and solutions

    StackOverFlowError is one of the common confronted JVM error. In this blog post, lets learn inner mechanics of thread stacks, reasons that can trigger StackOverFlowError and potential solutions to...
  25. What is garbage collection log? How to enable & analyze?

    Garbage collection has more profound impact on the application in contrary to what most engineers think. In order to optimize memory and garbage collection settings and to troubleshoot memory-related...
Results 1 to 25 of 40
Page 1 of 2 1 2