Now that we OS X Yosemite is out, we have the same problem as always ... Valgrind doesn't work on OS X 10.10.
Is there a working alternative to Valgrind, that can find memory leaks and other kinds of memory errors, like Valgrind does?
Now that we OS X Yosemite is out, we have the same problem as always ... Valgrind doesn't work on OS X 10.10.
Is there a working alternative to Valgrind, that can find memory leaks and other kinds of memory errors, like Valgrind does?
As pointed here, Valgrind is available for Yosemite, but only from trunk. Use
brew install valgrind --HEAD
to install.
I've found that Valgrind is still a bit unstable on Mac in certain situations. If you're only looking for identifying (definite) memory leaks you could give Heapusage a try. Its output is similar to Valgrind, so it should be easy to use.
Full disclosure: I'm the author of Heapusage.