Solved

Can someone please explain me about the below image?

Posted on 2011-02-14
6
336 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
ID: 34894292
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
ID: 34902465
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
ID: 34902573
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
ID: 35165526
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
ID: 37514366
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Maven Project: Hibernate Dependencies Conflict 10 37
factorial example 4 47
ejb on wildfly 5 30
ejb message driven bean mdb creation steps 2 15
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

792 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