Hello Pierre,

valgrind is very powerfull if you're on an Linux/Unix environnement, if you are using MSVC you can use this:

...

when you stop debugging you program, it make a memory leaks report in the msvc output console...

Does this work well with ref_ptrs? i.e. will it spit out hundreds of false positives for things that are ref counted and do not actually leak?

What I'd really like is to compare the state of memory (preferably with where the memory was allocated) at two points of the program's run. If I can just get a dump of that, and then diff the two, I could see what leaks between when the first file is opened and when the second one is.

The project we're working on currently does not run on Linux though it will eventually, so valgrind is not an alternative right now.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to