<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-2022-JP"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 08/31/2011 12:19 PM, Noriko Hosoi wrote:
<blockquote cite="mid:4E5E7B15.4010108@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-2022-JP">
Description: If any string is set to an environment variable
USE_VALGRIND,<br>
when running a memory leak checking tool (e.g., valgrind),<br>
it reduces the noise generated by the entry cache and dn cache.<br>
<br>
Sample valgrind outputs from the same operations.<br>
1. with USE_VALGRIND<br>
==16525== LEAK SUMMARY:<br>
==16525== definitely lost: 5,102 bytes in 155 blocks<br>
==16525== indirectly lost: 24,655 bytes in 950 blocks<br>
==16525== possibly lost: <font color="#cc0000"><b>13,294</b></font>
bytes in 433 blocks<br>
==16525== still reachable: 2,209,801 bytes in 17,937 blocks<br>
==16525== suppressed: 0 bytes in 0 blocks<br>
==16525== Reachable blocks (those to which a pointer was found)
are not shown.<br>
==16525== To see them, rerun with: --leak-check=full
--show-reachable=yes<br>
<br>
2. no USE_VALGRIND<br>
==25738== LEAK SUMMARY:<br>
==25738== definitely lost: 5,102 bytes in 155 blocks<br>
==25738== indirectly lost: 24,655 bytes in 950 blocks<br>
==25738== possibly lost: <font color="#cc0000"><b>23,862,444</b></font>
bytes in 863,885 blocks<br>
==25738== still reachable: 3,093,988 bytes in 41,603 blocks<br>
==25738== suppressed: 0 bytes in 0 blocks<br>
==25738== Reachable blocks (those to which a pointer was found)
are not shown.<br>
==25738== To see them, rerun with: --leak-check=full
--show-reachable=yes<br>
<br>
Thanks,<br>
--noriko<br>
</blockquote>
ack<br>
<blockquote cite="mid:4E5E7B15.4010108@redhat.com" type="cite">
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-devel">https://admin.fedoraproject.org/mailman/listinfo/389-devel</a></pre>
</blockquote>
<br>
</body>
</html>