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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:01:37+00:00 2026-05-22T03:01:37+00:00

At the http://goog-perftools.sourceforge.net/doc/tcmalloc.html it is stated: CMalloc currently does not return any memory to

  • 0

At the http://goog-perftools.sourceforge.net/doc/tcmalloc.html
it is stated: “CMalloc currently does not return any memory to the system.”
I presume that it means that if I allocate 42 mb and free it system wont get it back, but next time i allocate 47 MB it will steal only 5 MB more? My question what happens with loaded dll or .so modules. Do they get their own chunk of memory that is not released until program exits. I ask because if I want to write run time updateable sw I must load new dlls without exiting the program. So my question is: if i use -ltcmalloc and I’m constantly loading and unloading dlls that allocate and free memory will that cause mem usage to explode? I presume it is a stupid question, but I don’t know if each dll uses its own memory allocation stuff or if if the mem allocation is on per process level.

  • 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-22T03:01:38+00:00Added an answer on May 22, 2026 at 3:01 am

    Memory belongs to a process, not to DLLs. So memory will normally be held onto until the process ends. This is a common feature of most malloc implementations, not just the one you are asking about.

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

Sidebar

Related Questions

http://localhost/XYZ/Client/(S(enlodz55ov4ncafza0gpp045))/Info/Rates.aspx Does anyway know what /(S(enlodz55ov4ncafza0gpp045))/ means? Any help appreciated.
http://leepoint.net/notes-java/data/expressions/22compareobjects.html It turns out that defining equals() isn't trivial; in fact it's moderately hard
I have some html code like this. <a href=http://www.google.com.pk id=goog title=<table width='20%' border='1'> <tr>
http://docs.python.org/library/imaplib.html states that: exception IMAP4.error Exception raised on any errors. The reason for the
http://developer.yahoo.com/javascript/howto-proxy.html Are there disadvantages to this technique? The advantage is obvious, that you can
Are there any simple HTTP APIs out there which will let me get the
http://jsfiddle.net/n8YsM/ How do I make the div id blue take up the remaining visible
Looking at HTML source code of http://www.google.com/finance/historical?cid=983582&startdate=Nov+28,+2000&enddate=Nov+27,+2010&num=200 I see that Google never closes td
http://twitter.com/codinghorror http://twitter.com/login These both look like twitter accounts but the second one is not.
http://farm3.anhso.net/upload/20110221/12/o/anhso-121531_example.jpg Here is the examples, when you drag A or B , the size

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.