<div dir="ltr"><div dir="auto"></div><div class="gmail_extra">Salut Darius,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Pentru handle-uri deschise recomand cu caldura procexp.exe (Process Explorer [1]) - il aveti si pe VM-ul de SO instalat. Orice proces deschis de cygwin e vizibil si in Task Manager/Process Explorer (daca deschizi cygwin de ex o sa vezi N procese bash.exe unde N = nr de terminale Cygwin deschis de tine). </div><div class="gmail_extra"><br></div><div class="gmail_extra">Pentru memory leaks, ar trebui sa mearga treaba cu Dr Memory [2]. Conform documentatiei pare sa stie si de handle-uri deschise [3]</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx">https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx</a></div><div class="gmail_extra">[2] <a href="https://github.com/DynamoRIO/drmemory/wiki/Downloads">https://github.com/DynamoRIO/drmemory/wiki/Downloads</a></div><div class="gmail_extra">[3] <a href="http://drmemory.org/docs/page_handle.html">http://drmemory.org/docs/page_handle.html</a></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 Apr 2017 15:25, "Darius-Florentin Neatu via so" <<a href="mailto:so@cursuri.cs.pub.ro" target="_blank">so@cursuri.cs.pub.ro</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ok. Multumesc mult!<div><br></div><div>De asemenea, as dori sa intreb daca ne puteti recomanda o metoda simpla de a verifica existenta memory leaks si pentru handle-uri de fisiere care nu au fost inchise la finalul executiei programului.</div><div><br></div><div>Cu ce tool-uri va fi testata tema pe Windows pentru problemele mentionate mai sus? (am inteles ca valgrind nu este portat pe cygwin)</div><div><br></div><div>Darius</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr 2, 2017 at 1:16 PM Costin Lupu <<a href="mailto:costin.lup@gmail.com" target="_blank">costin.lup@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 04/02/2017 03:33 AM, Darius-Florentin Neatu via so wrote:<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
> Salut,<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
><br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
> Vom fi depunctati daca punem o valoare mare pentru numarul maxim de<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
> bytes care se pot afla la un moment dat in pipe? (parametrul nSize de la<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
> CreatePipe).<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
><br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
> Ex. 20MB<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
Darius, de ce ar fi asta o problemă? Uite ce scrie în documentație [1]<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
pentru nSize: "The size is only a suggestion; the system uses the value<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
to calculate an appropriate buffering mechanism". Deci nu veți fi<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
depunctați pentru așa ceva.<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
[1]<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
<a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365152%28v=vs.85%29.aspx" rel="noreferrer" class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg" target="_blank">https://msdn.microsoft.com/en-<wbr>us/library/windows/desktop/aa3<wbr>65152%28v=vs.85%29.aspx</a><br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
Costin<br class="gmail-m_8151678641061970469m_-2198544072835286261gmail_msg">
</blockquote></div>
<br>______________________________<wbr>_________________<br>
<a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" rel="noreferrer" target="_blank">http://ocw.cs.pub.ro/courses/s<wbr>o/info/lista-discutii</a><br></blockquote></div></div>
</div>