<br><br><div class="gmail_quote">On Fri, Aug 19, 2011 at 3:26 PM, Ludo Brands <span dir="ltr"><<a href="mailto:ludo.brands@free.fr">ludo.brands@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<u></u>
<div><div class="im">
<div><font face="Tahoma" size="2"></font> </div>
<blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(0, 0, 255); margin-right: 0px;"><font color="#0000ff" face="Arial" size="2"></font>
<div><br>Based on this discussion and the following research I made an attempt
to implement something like this for fpc/lazarus. <br><br>The final result are
a couple of units and a dialog that allows to see the results in any time
inside the program. You can see the real example in the
screenshot:<br><br> <a href="http://www.maxerist.net/downloads/procmemstat_ss.png" target="_blank">http://www.maxerist.net/downloads/procmemstat_ss.png</a><br><br>The
download link for pascal sources:<br><br> <a href="http://www.maxerist.net/downloads/procmemstat.zip" target="_blank">http://www.maxerist.net/downloads/procmemstat.zip</a>
(5k)<br><br><span><font color="#0000ff" face="Arial" size="2"> </font></span></div></blockquote>
</div><div><span><font face="Arial"><font color="#0000ff" size="2">Where can I find units uNtSnapshot, uMem32,
uUniCompat?</font></font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Looking at the screenshot, I'm confused. Memory allocated by FreeMem. How
should that be interpreted?</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">thanks, Ludo</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span></span> <br><br></div></div></blockquote><div><br>Sorry about that, I uploaded the archive once again with only uNtSnapshot dependency.<br><br><a href="http://www.maxerist.net/downloads/procmemstat.zip" target="_blank"> http://www.maxerist.net/downloads/procmemstat.zip</a><br>
<br>As for the numbers, they're not supposed to be pieces to be summed. I mentioned utilities for finding space on drive, for example my FindFatFolder (<a href="http://www.maxerist.net/main/soft-for-win/find-fat-folder">http://www.maxerist.net/main/soft-for-win/find-fat-folder</a>), every reachable folder (also nodes, not only leafs) is used and calculated, if you want to find the eater, you just look from the top to the bottom and wait for 'bingo'. In other words If you see a big number and the name of the function looks like a strange source of such big number (cumulative) you look deeper. For folders it works, but will it work for function I still don't know :)<br>
<br>Max<br> </div></div><br>