<div dir="ltr"><div>Hi everyone!</div><div><br></div><div>I have a problem when trying to create encoder for large images (4K and above) on Win32. The function x264_encoder_open fails because out-of-memory condition occurred.</div><div>The problem is that inside x264_encoder_open memory was allocated (all 3 Gb) but not freed on fail. So I cannot try to open encoder with smaller number of threads in this session.</div><div>Do you plan to fix this problem? Or may be there is another solution for this case?</div><div><br></div><div><br></div><div>Best regards,</div><div>Marina Kuznetsova</div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font color="#888888" face="arial, sans-serif" style="color:rgb(136,136,136)"><span style="border-collapse:collapse"><i><a href="https://mail.google.com/mail/h/18zvzjvi46j4l/?&v=b&cs=wh&to=vozhakov@gmail.com" target="_blank"></a></i></span></font></div></div></div></div></div>