|
From: Julian S. <js...@ac...> - 2009-08-07 10:50:14
|
> * With all those changes: > > ==6310== HEAP SUMMARY: > ==6310== in use at exit: 15,090 bytes in 17 blocks. > ==6310== total heap usage: 17 allocs, 0 frees, 15,090 bytes allocated. > ==6310== > ==6310== LEAK SUMMARY: > ==6310== definitely lost: 0 bytes in 0 blocks. > ==6310== indirectly lost: 0 bytes in 0 blocks. > ==6310== possibly lost: 0 bytes in 0 blocks. > ==6310== still reachable: 10,694 bytes in 9 blocks. > ==6310== suppressed: 4,396 bytes in 8 blocks. > ==6310== Searched 1,123,768 bytes for pointers to 17 unfreed blocks. > ==6310== Rerun with --leak-check=full to see details of leaked memory. > ==6310== > ==6310== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 3) > ==6310== For counts of detected errors, rerun with: -v I made it even more concise, but putting the "Searched .." on -v only -- seems pointless for normal use. Hence: ==26545== HEAP SUMMARY: ==26545== in use at exit: 172,419 bytes in 563 blocks. ==26545== total heap usage: 984 allocs, 421 frees, 329,690 bytes allocated. ==26545== ==26545== LEAK SUMMARY: ==26545== definitely lost: 0 bytes in 0 blocks. ==26545== indirectly lost: 0 bytes in 0 blocks. ==26545== possibly lost: 0 bytes in 0 blocks. ==26545== still reachable: 172,419 bytes in 563 blocks. ==26545== suppressed: 0 bytes in 0 blocks. ==26545== Rerun with --leak-check=full to see details of leaked memory. ==26545== ==26545== For counts of detected and suppressed errors, rerun with: -v ==26545== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) It's difficult to finish up like this ==26545== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==26545== For counts of detected and suppressed errors, rerun with: -v because some tools (Memcheck) want to print a last-gasp message in their fini message, before the error manager prints the ERROR SUMMARY, and so you'd get this (plus more phase-ordering complexity in the core/tool iface): ==26594== Use --track-origins=yes to see where uninitialised values come from ==26594== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 1) ==26594== For counts of detected and suppressed errors, rerun with: -v which looks a bit strange. So I propose to leave it as it stands. J |