?
Solved

Can someone please explain me about the below image?

Posted on 2011-02-14
6
Medium Priority
?
357 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 92

Accepted Solution

by:
objects earned 1000 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 1000 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 60

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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