Find the answer to your Linux question:
Results 1 to 4 of 4
can anybody tell me how to get heap size taken by a process and maximum heap size allowed for the process... using pmap <pid> does not list the [heap] memory ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3

    Heap size of a process


    can anybody tell me how to get heap size taken by a process and maximum heap size allowed for the process...

    using pmap <pid> does not list the [heap] memory information of that process.

    also tried using /proc/<pid>/maps

    Thanks in advance...

  2. #2
    Just Joined! TuxKnight's Avatar
    Join Date
    Sep 2008
    Location
    New Zealand
    Posts
    28

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3
    yes, used pmap <pid> command, but could not see heap memory taken by the process.

    Other reason may be the process is not using heap. (it is third party application).

    but running same process under solaris, shows utilization of heap memory.

    Any ideas, if i can use any other command?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3
    Forgot to mention i am using Red Hat Linux 2.6.9 x86_64

    Thanks...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •