heap allocation by the OS

Discussion in 'C++' started by gaurish.panse@gmail.com, Jan 23, 2007.

  1. Guest

    This is more about the OS than about C++.

    How does the OS (*nix) keeps track of the heap memory allocated to each
    process? If the OS knows the memory consumed by each process, does it
    automatically releases the memory upon process termination/kill? if
    not, why not :) ?
     
    , Jan 23, 2007
    #1
    1. Advertising

  2. red floyd Guest

    wrote:
    > This is more about the OS than about C++.
    >
    > How does the OS (*nix) keeps track of the heap memory allocated to each
    > process? If the OS knows the memory consumed by each process, does it
    > automatically releases the memory upon process termination/kill? if
    > not, why not :) ?
    >

    You're OT. Try comp.unix.programmer
     
    red floyd, Jan 23, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. EKL
    Replies:
    1
    Views:
    326
    Robert Olofsson
    Sep 30, 2003
  2. Michal Slocinski

    Heap dump file size vs heap size

    Michal Slocinski, Mar 25, 2008, in forum: Java
    Replies:
    1
    Views:
    772
    GArlington
    Mar 25, 2008
  3. viki
    Replies:
    6
    Views:
    627
    Erik Wikström
    Jun 28, 2008
  4. Raymond Schanks
    Replies:
    0
    Views:
    594
    Raymond Schanks
    Apr 11, 2010
  5. Bjarke Hammersholt Roune
    Replies:
    14
    Views:
    1,223
    Bjarke Hammersholt Roune
    Mar 6, 2011
Loading...

Share This Page