Is there a way to reduce the amount of memory AHK uses when performing ImageSearch? My script has 7 threads, with each thread searching a single image, in 1-second intervals.
The search causes my CPU usage to randomly peaks at 100%
I play games like Crysis & CoD and I use a lot of robust programs like Maya & 3DMax. More often than not, AHK consumes more memory than these programs, to perform multi-thread imagesearch. This confuses me.
Is there a way to make AHK release memory it does not need?
Get help with using AutoHotkey and its commands and hotkeys
3 posts • Page 1 of 1
It also depends on the imagesearch. If you end up searching your entire screen then you will run into problems where your computer will take a performance hit doing it. If you know where on your screen that image will appear then try limiting just to that area. And as nnnik said please post at least the portion of the script that you think is cause this memory leak.