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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #1031 of 1198 |
RE: [mpatrol] mpatrol heap efficiency ?

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 summaries
and output so I wouldn't have to parse that output.

I guess I'll keep looking.

Tom

--- graeme@... wrote:

> 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
>
>
>




________________________________________________________________________________\
____
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



Mon Nov 27, 2006 4:57 pm

tgraves_cs
Online Now Online Now
Send Email Send Email

Forward
Message #1031 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
Online Now 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
Online Now 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
Online Now Send Email
Nov 27, 2006
5:11 pm
Advanced

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