user1799323
user1799323

Reputation: 659

Memory leak detection on Mac OS

I’m trying to debug a C code and unfortunately I can’t use valgrind since I have Mavericks installed.

I’m using lldb but am not sure what command to run to check for memory leaks.

Upvotes: 5

Views: 4336

Answers (1)

Alexander L. Belikoff
Alexander L. Belikoff

Reputation: 5721

If nothing else works, you might try using dmalloc library, which has been ported to OS X and is pretty good at finding reasonably complex memory allocation problems.

Upvotes: 2

Related Questions