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

  • Home
  • SEARCH
  • 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 3396696
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:26:19+00:00 2026-05-18T04:26:19+00:00

In my program, I create 100 threads, then wait for all of them to

  • 0

In my program, I create 100 threads, then wait for all of them to join and then repeat this operation again.

In each of the threads, I create some memory and free it. I am fairly sure, all the memory which I am creating in those threads are getting freed.

But, the SIZE output and RSS output of prstat are continously increasing. They are increasing regularly by 4M

What do these values indicate? Does it mean there is some memory leak?

EDIT:

My original intention was to find out what is the meaning of SIZE & RSS columns in prstat output. Also, does increase in the value shown by SIZE confirm the presence of memory leak in the code?

  • 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-18T04:26:19+00:00Added an answer on May 18, 2026 at 4:26 am

    No, prstat SIZE increase doesn’t necessarily indicate a memory leak. You can only guess that there might be a memory leak. Moreover, when using the standard Solaris malloc/free libraries, freed memory is not returned to the OS so the SIZE metric is never decreasing. You should really post a sample source code exhibiting the issue to help figuring out if you really experiencing a memory leak.

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

Sidebar

Related Questions

Consider this problem: I have a program which should fetch (let's say) 100 records
I'm doing a project that spawn some hundreds of threads. All these threads are
Can anyone recommend a program to create user manuals with? Not a markup language
If i create a program, which in one small out of the way area,
I am wanting to create a program that talks with a Cometd server to
I want to create a program that requests from the user 10 grades and
I was thinking about how to create a program that would only be valid
I have been tasked with creating a program what will create take files in
I need to create an installer program that will do install the following: ASP.Net
I want to create a C# program to provision Windows Mobile devices. I have

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.