Solved

Can someone please explain me about the below image?

Posted on 2011-02-14
6
324 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:Gantagoru
6 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
Comment Utility
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
 

Author Comment

by:Gantagoru
Comment Utility
Can you explain me , when we say GC is not happening properly , what does that mean and where could the possible issue be?
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
hard to say without know the context of the statement.
from that graph it appears garbage collection is working properly
0
 
LVL 5

Assisted Solution

by:josephtsang
josephtsang earned 250 total points
Comment Utility
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
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Convert ArrayList of custom objects to JSON 4 53
Updating Java 9 86
mapShare challenge 13 67
Java Server Faces parameter pass? 6 18
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now