Stephan Ferraro wrote: > I'm currently searching for an electric fence malloc. I read something that > there exists a dmalloc. > Is there a documentation how to use it and where to get it on OpenSolaris?
You can do much with libumem and mdb. See the umem_debug(3MALLOC) man page for a good introduction. It's also possible to use dmalloc: http://developers.sun.com/solaris/articles/dmalloc_solaris.html ... but I personally don't bother with it, as (unlike the author of that page ;-}) I've had better luck with libumem. I guess your mileage will vary. If you don't mind spending some money, there's also Rational/IBM Purify. The free counterpart of that would probably be valgrind, which is an interesting tool on Linux (though often quite expensive to run), but which doesn't exist on OpenSolaris. -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code