One thing to comment on if I may. Dmalloc is designed to be ultra-portable and will never compete against valgrind. That said, valgrind simulates, as far as I can tell, a multi-threaded process meaning that the performance and behavior of pthread programs is strongly affected. Gray Watson