<div dir="ltr">Multumesc mult, Mihai!<div><br></div><div>La drmemory ajunsesem si eu :D.</div><div>O sa incerc propunerile tale. <br><br>Darius</div><div><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr 2, 2017 at 3:37 PM Mihai Barbulescu <<a href="mailto:b12mihai@gmail.com">b12mihai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div dir="auto" class="gmail_msg"></div><div class="gmail_extra gmail_msg">Salut Darius,</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg">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 gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg">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 gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg">[1] <a href="https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx" class="gmail_msg" target="_blank">https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx</a></div><div class="gmail_extra gmail_msg">[2] <a href="https://github.com/DynamoRIO/drmemory/wiki/Downloads" class="gmail_msg" target="_blank">https://github.com/DynamoRIO/drmemory/wiki/Downloads</a></div><div class="gmail_extra gmail_msg">[3] <a href="http://drmemory.org/docs/page_handle.html" class="gmail_msg" target="_blank">http://drmemory.org/docs/page_handle.html</a></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"></div></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">On 2 Apr 2017 15:25, "Darius-Florentin Neatu via so" <<a href="mailto:so@cursuri.cs.pub.ro" class="gmail_msg" target="_blank">so@cursuri.cs.pub.ro</a>> wrote:<br type="attribution" class="gmail_msg"></div></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="gmail_msg">Ok. Multumesc mult!<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">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 class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">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 class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Darius</div></div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Sun, Apr 2, 2017 at 1:16 PM Costin Lupu <<a href="mailto:costin.lup@gmail.com" class="gmail_msg" target="_blank">costin.lup@gmail.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" 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="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
> Salut,<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
><br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
> Vom fi depunctati daca punem o valoare mare pentru numarul maxim de<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
> bytes care se pot afla la un moment dat in pipe? (parametrul nSize de la<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
> CreatePipe).<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
><br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
> Ex. 20MB<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
Darius, de ce ar fi asta o problemă? Uite ce scrie în documentație [1]<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
pentru nSize: "The size is only a suggestion; the system uses the value<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
to calculate an appropriate buffering mechanism". Deci nu veți fi<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
depunctați pentru așa ceva.<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
[1]<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
<a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365152%28v=vs.85%29.aspx" rel="noreferrer" class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg" target="_blank">https://msdn.microsoft.com/en-us/library/windows/desktop/aa365152%28v=vs.85%29.aspx</a><br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
Costin<br class="m_8221264337772584251gmail-m_8151678641061970469m_-2198544072835286261gmail_msg gmail_msg">
</blockquote></div>
<br class="gmail_msg"></blockquote></div></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">_______________________________________________<br class="gmail_msg">
<a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" rel="noreferrer" class="gmail_msg" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a><br class="gmail_msg"></blockquote></div></div>
</div>
</blockquote></div></div></div>