 |
 |
Command line memory analyzer
|
 |
|
 |
|
Senior User
Join Date: Feb 2003
Location: Atlanta
Status:
Offline
|
|
Anyone know of any programs like Valgrind that are available for PPC?
|
|
2.16 Ghz Core 2 Macbook, 3GB Ram, 120 GB
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Perhaps if you explained what Valgrind actually is?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2002
Status:
Offline
|
|
Angus_D: Cmd-L, tab, Valgrind, enter.
Coolmacdude: If you are talking about OS X, and not just PPC, then:
For malloc error catching, man malloc. There are several env variables you can set to catch writes to dealloc'ed chunks and stack logging for leaks etc.
Also see MallocDebug and (for ObjC) ObjectAlloc which give you nice allocation tree tables etc.
For profiling, look at CHUD, especially Shark.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status:
Offline
|
|
Originally posted by arekkusu:
Angus_D: Cmd-L, tab, Valgrind, enter.
You are assuming that the OS X Unix kernel guru is using Safari. Now what would make you assume that? Hmmm???
|

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2002
Status:
Offline
|
|
Originally posted by Detrius:
You are assuming that the OS X Unix kernel guru is using Safari. Now what would make you assume that? Hmmm???
Regardless of what browser you use, it takes less time to google a word than it does to post here.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Feb 2003
Location: Atlanta
Status:
Offline
|
|
Originally posted by arekkusu:
For malloc error catching, man malloc. There are several env variables you can set to catch writes to dealloc'ed chunks and stack logging for leaks etc.
I checked that out but I still like Valgrind a lot better since it gives you a printout of all the errors at once when the program exits instead of core dumping on the first one like most of the other checkers do.
|
|
2.16 Ghz Core 2 Macbook, 3GB Ram, 120 GB
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|