



In the test on my PC, the script would take around 4-16kb if a new window appears. $FPointWinTitle=DllCall("user32.dll", "int", "GetWindowText", "hwnd", $hPoint, "str", "", "int", 32768)Īs you can see, it mostly does dllcalls on user32 'WindowFromPoint' and 'GetWindowText'. $hPoint = DllCall("User32.dll", "hwnd", "WindowFromPoint", "int", $Mpos, "int", $Mpos) I have a simple function, but somehow it keeps eating RAM little by little. So, I'm sorry if this has been answered before. I had been searching and reading the forum about memory leak, but couldn't find anything related.
