Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
mpatrol heap efficiency ?   Message List  
Reply | Forward Message #1030 of 1198 |
RE: [mpatrol] mpatrol heap efficiency ?

Hi Tom,

Assuming you're wanting more low-level memory usage statistics, I can't really
recommend one particular tool because it depends what system you're running on
and what you want to get out of it. If you're on Linux I would suggest looking
at strace and ps. If you're on a modern UNIX then you could look at some of the
entries in /proc. If you're on Windows then task manager is probably a start,
but I'm sure there are lots more tools that give more detail.

I would suggest that strace on Linux is a good start because you can then look
directly for sbrk() or mmap() calls from the process you're interested in. I
can't think of any particular process analysis tools that give reports and
summaries on specific resources after the process exits, but I'm sure there must
be some.

Graeme.


tgraves_cs@... wrote:
> thanks much for your response, off hand do you know
> any process analysis tools that would give me this
> information?
>
> Tom





Mon Nov 27, 2006 3:50 pm

graemeroy
Offline Offline
Send Email Send Email

Forward
Message #1030 of 1198 |
Expand Messages Author Sort by Date

Hello all, I'm new to using mpatrol and I'm trying to use it to figure out heap efficiency. Basically when the process mallocs memory, reserves it, and then...
tgraves_cs
Offline Send Email
Nov 22, 2006
4:36 pm

Hi Tom, The short answer is that it doesn't free the memory back to the system, and neither do most other malloc libraries. And now for the long answer... For...
Graeme Roy
graemeroy
Offline Send Email
Nov 22, 2006
7:25 pm

thanks much for your response, off hand do you know any process analysis tools that would give me this information? Tom ... ...
Tom Graves
tgraves_cs
Offline Send Email
Nov 27, 2006
3:19 pm

Hi Tom, Assuming you're wanting more low-level memory usage statistics, I can't really recommend one particular tool because it depends what system you're...
graeme@...
graemeroy
Offline Send Email
Nov 27, 2006
4:26 pm

Hey Graeme, thanks again. I'm running on linux. I've used strace for some testing and small programs, but was hoping there was an existing tool to give me nice...
Tom Graves
tgraves_cs
Offline Send Email
Nov 27, 2006
5:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help