Open muhaha211 opened 9 months ago
You'd need to narrow you code down even further and work out which pywin32 function is actually causing the leak. Once identified a fix should be fairly easy but will require a new build of pywin32.
If I can replicate, I might wanna take a look into it. I use very similar code in https://github.com/Toufool/AutoSplit/blob/master/src/capture_method/BitBltCaptureMethod.py
Python 3.10.11, pywin306 on windows10. The code causes memory to keep increasing over time when executed. It appears that something in the win32 capture method is causing a leak, but I'm not sure of the exact cause or solution. Despite searching online, there doesn't seem to be an obvious issue with the code. Is there a solution available?