<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 17, 2008, at 3:21 AM, Pradeep Rai wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">Thanks for your inputs !!!</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">I have installed python v 2.5 on my Linux machine and executing the tool again.</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">I would like to share the memory status( using free -m command ) before and after the execution of the tool.</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">BEFORE EXECUTION</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">================</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">                   total       used       free     shared    buffers     cached<br>Mem:          1006        148        <font color="#ff0000"><strong>858</strong></font>          0          8         92<br> -/+ buffers/cache:         46        960<br>Swap:         2047          0       2047</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">AFTER EXECUTION </span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">===============</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">                  total       used       free     shared    buffers     cached<br>Mem:          1006        940         <font color="#ff0000"><strong>66</strong></font>          0         49        846<br> -/+ buffers/cache:         44        962<br>Swap:         2047          0       2047</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008">I am unable to find out why <strong>66 MB</strong> system memory is left after tool execution ? If python does not have memory leaks then where this memory is going ?</span></font></div> <div><font face="Arial" color="#0000ff" size="2"><span class="109280707-17032008"></span></font> </div></blockquote></div><div><br></div><div>the free you are looking at is not a  good indication of 'actual memory available' in linux.</div><div><br class="webkit-block-placeholder"></div><div>the number you are intersted is this one:</div><div><br class="webkit-block-placeholder"></div><div><blockquote type="cite"><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: Arial; font-size: 10px; ">-/+ buffers/cache:         46        960<br></span></blockquote><br></div><div>vs</div><div><br class="webkit-block-placeholder"></div><div><blockquote type="cite"><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: Arial; font-size: 10px; ">-/+ buffers/cache:         44        962<br></span></blockquote><div><br class="webkit-block-placeholder"></div>before execution you had 960 available for use by applications</div><div>after execution you had 962 available.</div><div><br class="webkit-block-placeholder"></div><div>here is one of many pages explaining memory under linux:</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="http://gentoo-wiki.com/FAQ_Linux_Memory_Management">http://gentoo-wiki.com/FAQ_Linux_Memory_Management</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><br></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div></body></html>