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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:03:27+00:00 2026-06-12T12:03:27+00:00

I am running load through my java program and analyzing memory consumption through jconsole

  • 0

I am running load through my java program and analyzing memory consumption through jconsole and top command.

“uname -a” machine on which i am working is :

SunOS 5.10 Generic_142909-17 sun4v sparc sun4v

My issue is that if i see memory consumption through top command then RES mem increases when load is running,which is fine but it does not come down when i stop the load.

If GC occurs then also RES mem does not come down.Opposite to that in Jconsole, I can see that mem consumption comes down when GC occurs.

TOP OUTPUT :

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
16959 aconyx 836 59 0 7559M 3696M sleep 61:27 0.04% java

JConsole Output :

enter image description here

At same point in time jconsole showing 384 MB used and top RES showing 3696 MB used.

Any pointers why top RES memory does not come down like visible in jconsole.

Thanks in advance.

  • 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-12T12:03:28+00:00Added an answer on June 12, 2026 at 12:03 pm

    The importat bit to know is that the java GC doesn’t free the memory to the OS, it just frees it so it can be reused by the JVM.

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

Sidebar

Related Questions

I am trying to run a RPGLE program which use java methods. I am
I'm trying to get a basic Apache 2.2 load balancer running on top of
I am trying to run a java client through PHP which sends an XML
I'm running through a tutorial on how to load data from a SQlite database.
I'm trying to load some java stored procedures into an Oracle 10g database through
I am running a website locally, all the traffic is routed through NGinx which
I'm running a database query to load a dropdownbox using jquery. Is there a
When running rspec I get the following error: no such file to load --
I have two load balanced servers each running exactly the same copy of various
I'm running into a character encoding issue when I load a dropdown using jQuery

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.