> I did try massif, but the program is terminated (3G limit) > before I get any output. It seems to happen extremely fast.
Maybe try to find a smaller workload that allows Massif to complete successfully, so you can get some results from it. Also as Philippe says, if Memcheck indicates any errors (uninitialised value, or out of range / free-memory access) in your code then that is probably a serious problem. The first thing I would do before profiling is to make your code run Memcheck-clean. > I do have > 3 threads, so your idea about exp-dhat is the next thing I will try. Ok, but be aware that exp-dhat is another kind of space profiler; it won't tell you about threading errors. For that you need --tool=helgrind or --tool=drd (but read the documentation before using). J ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
