Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9238271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:43:22+00:00 2026-06-18T07:43:22+00:00

Does the following graph indicate that I am using memory and it is not

  • 0

Does the following graph indicate that I am using memory and it is not being garbage collected?

enter image description here

I expected the orange graph (the allocated heap) to go down once I start using less of the heap.

  • Is this an invalid assumption?
  • Once allocated, does the heap not
    shrink until the program closes?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:43:23+00:00Added an answer on June 18, 2026 at 7:43 am

    It is clear from the graph that your JVM is capable of shrinking the heap. This can be seen from the orange line taking a slight dip just before 3:10pm.

    However, later on the JVM chooses to not shrink the heap. This is almost certainly because an insufficiently large fraction of the heap is unused. The behaviour is controlled by -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio.

    For a discussion, see http://stopcoding.wordpress.com/2010/04/12/more-on-the-incredible-shrinking-jvm-heap/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does the following code will increase the allocated memory continuously as it is called
I have the following problem: I have the following graph: g6 which does not
I'm getting crazy with this IE 7... ==> hhttp://neu.emergent-innovation.com/ Why does following function not
Does the following code contain a memory leak of the first three characters in
The following does not work — handleSwipeUpTriple is never called: - (BOOL) application:(UIApplication *)application
Does anyone know an algorithm for the following problem: Given a undirected connected graph
I'm trying to develop a Java program that does the following: uses a background
I am trying to write a program that does the following: Takes values of
I am getting the following error while publishing the facebook action using open graph
I want to develop a tool that does the following things. take in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.