Profile Image
Venkat

What caused memory spikes

We are not able get more colors. could you please help us why memory spike and leak. 

Will this cause the JVM pause ?


Report URL - https://gceasy.io/my-gc-report.jsp?p=c2hhcmVkLzIwMjQvMDgvMTQvMTAuODkuMTM2LjkwLWNtZHR5bGltaXQtR0MubG9nLUdDLmNzdi0tMTItNTAtMzY=&channel=WEB

    Please Sign In or to post your comment or answer

    Profile Image

    Kousika M

    Hello Venkat,

    Greetings!

     

    Yes, memory spikes and leaks can cause JVM pauses, especially in the following scenarios:

    • GC Pauses: When the JVM detects that it's running low on memory, it may trigger a garbage collection cycle, which can cause the application to pause while memory is being reclaimed.

    Your GC event took more than 5 seconds, inspite of the fact that your application running for less than 30 minutes. As your application runs for a longer period, you might encounter more GC events to take more than 5 seconds.

     

     a. You may follow the recommendations given here to reduce your long GC Pause.

     

     b. This GC tuning & troubleshooting video can also help with optimizing your GC performance.

     

     

    Additionally, it's a good practice to run your application continuously for 24 hours to monitor and analyze its behavior over time. This extended runtime can help identify any memory issues or performance bottlenecks that may not be evident during shorter test periods.

     

    Thanks.

    Profile Image

    Unni Mana

    One reason for memory spike can be when the application load increases. Memory leak happens when GC cannot clean up all these objects in the heap.

     

    Got something else on mind? Post Your Question