You need to figure out whether the extreme growth is due to the behaviour of your program, or a bug in Valgrind. You can investigate the space usage of your program in various ways (some of which PhilippeW has already described) and you can also use the tools --tool=massif and (advanced, but sometimes interesting) --tool=exp-dhat.
If you program is multithreaded you might also want to consider if there are any threading errors that could account for the possibly inconsistent behaviour. 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 Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users