Can someone please explain me about the below image?

Can someone explain me about the below image chart , what does it mean , when the GC is gradually increasing and falls after that and then again starts the GC and gradually increases and falls down.

and the GC at 5:10 AM is 10 and at 16:00 its 5000.

And can anyone explain me , when we say GC is not happening properly , what does that mean and where could the possible issue be? GC Diagram
GantagoruAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
objectsConnect With a Mentor Commented:
it is performing garbage collection periodicly, so you see memory usage gradually increase as more object are created
thenm when garbage collection is performed you see a sharp drop as all unreferenced objects are freed up
0
 
GantagoruAuthor Commented:
Can you explain me , when we say GC is not happening properly , what does that mean and where could the possible issue be?
0
 
objectsCommented:
hard to say without know the context of the statement.
from that graph it appears garbage collection is working properly
0
 
josephtsangConnect With a Mentor Commented:
It appears to me that you are trying to run a big job which populates objects in the memory and accumulates in a method or passing around as arguments across method calls, and at a certain point the method exits and all these objects are GC.

But what interested me is the roof of the graph.... they all end up at the same horizon and then it drops. I suspect that is the max heap size allowed you have set up and at the point the process throws the OutOfMemoryException, which then be captured by your catch block. In your catch block you may or may not have handled the objects accumulated before they all become GC, but it looks like to have put a retry mechanism or something to repeat what you have failed and finally ends up with the same cycle for several rounds in a day.
0
 
Kevin CrossChief Technology OfficerCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.