<div dir="ltr"><div>Hmm, maybe a clue:<br></div><div><br></div><div>
<table class="gmail-highlight gmail-tab-size gmail-js-file-line-container gmail-js-code-nav-container gmail-js-tagsearch-file"><tbody><tr><td id="gmail-LC1794" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line"><span class="gmail-pl-k">    static</span> <span class="gmail-pl-k">double</span> <span class="gmail-pl-en">getDpiSystem</span>(<span class="gmail-pl-k">void</span>)</td>
        </tr>
        <tr>
          </tr></tbody></table><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container gmail-js-code-nav-container gmail-js-tagsearch-file"><tbody><tr><td id="gmail-LC1795" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line">    {</td>
        </tr>
        <tr>
          </tr></tbody></table><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container gmail-js-code-nav-container gmail-js-tagsearch-file"><tbody><tr><td id="gmail-LC1796" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line">         <span class="gmail-pl-k">return</span> (<span class="gmail-pl-k">double</span>) <span class="gmail-pl-c1">GetDeviceCaps</span>(<span class="gmail-pl-c1">GetWindowDC</span>(stWindow), LOGPIXELSY);</td>
        </tr>
        <tr>
          </tr></tbody></table>    } <br></div><div><br></div><div>
 shouldn't there be a ReleaseDC here ?

</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 14 nov. 2022 à 12:10, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> a écrit :<br></div><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"><div>I confirm that it is a GDI LEAK.</div><div>If I display the number of GDI objects in the task manager, I see that the number grows up to 10,000 at which time the image hangs...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 14 nov. 2022 à 11:24, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>> a écrit :<br></div><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"><div>Sorry, for shorten message, continued below...<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 14 nov. 2022 à 11:18, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>> a écrit :<br></div><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"><div>Hi all,</div><div>as Eliot already reported in October, after a few minutes, the 64bits image locks up on windows.</div><div>The console reports an error from within ioShowDisplay<br></div><div><br></div><div>    SetDIBitsToDevice failed (0)</div><div>    width=1364,height=757,bits=7FF7471D68E8,dc=FFFFFFFF9D010B72</div><div><br></div><div>then several other gdi calls start to fail, like</div><div><br></div><div>    CreateCursor failed (0)</div><div><br></div><div>a bit further, SetDIBitsToDevice failed (8), the error message concerns <br></div><div><br></div></div></blockquote><div> The error message a bit further is about insufficient memory resources to perform the 
SetDIBitsToDevice</div><div><br></div><div>If I open an image, leave it alone, and observe the Squeak.exe process in TaskManager, I clearly see a memory leak.</div><div>The error happens after about 15 or 16Mbytes increase.</div><div>So we should track the origin of un-released resources, and the problem will then probably vanish.</div><div><br></div><div>For now, it's a show-stopper for me.</div><div><br></div><div>Nicolas<br> 

</div></div></div>
</blockquote></div>
</blockquote></div>