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 3637356
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:08:54+00:00 2026-05-19T01:08:54+00:00

Trying to debug a memory leak in a java program (running on linux 64bits),

  • 0

Trying to debug a memory leak in a java program (running on linux 64bits), using VisualVM 1.3.

I noticed that after each click on the “Perform GC” button in the VisualVM Monitor tab, the “used” value for the Old Gen memory pool goes up… which seems rather counter-intuitive…

That would make sense if “Perform GC” did trigger a GC for the young gen only (since some objects could then be migrated from young to old gen)… But not in the case of a full GC.

Has anyone has encountered this before ? Thanks.

Eg.
1) OldGen Initial state:

PeakUsage
committed:1431 Mb
init:1431 Mb
max:1431 Mb
used:98Mb

Usage
committed:1431 Mb
init:1431 Mb
max:1431 Mb
used:98Mb

2) Perform GC

3) New state:

PeakUsage
committed:1431 Mb
init:1431 Mb
max:1431 Mb
used:105Mb

Usage
committed:1431 Mb
init:1431 Mb
max:1431 Mb
used:105Mb

  • 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-05-19T01:08:54+00:00Added an answer on May 19, 2026 at 1:08 am

    It seems quite possible that full GC could also cause migration of young gen objects to the old gen. Do you have some specific reason to think otherwise?

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

Sidebar

Related Questions

I’m trying to debug a memory leak problem. I’m using mtrace() to get a
I'm trying to make a basic wxWidgets program that doesn't leak any memory (I'm
I'm trying to debug a memory leak in a Node.js application but cannot install
I'm trying to debug a memory leak in a printer driver. I'm pretty sure
When trying to trace some memory issues in PHP, I noticed that debug_backtrace() ,
I'm trying to debug a memory leak (see question Memory leak in Python Twisted:
I am trying to debug an application using gdb on Linux. However, when loading
When trying to debug a program on Windows I can't seem to find where
I'm trying to debug an old VB6 program at my job. It's full of
I'm trying to debug a web page that makes heavy use of events, and

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.