AutoHotPie
AutoHotPie copied to clipboard
Memory leak when Pie Menus refresh visual.
There is a memory leak. Memory use increases whenever a pie menu refreshes its visual, but the memory is not released when the menu closes.
uluk posted a comment on youtube:
I think there's a memory leak somewhere. I keep autohotpie open indefinitely and it went up to 400 MBs of ram reserved. May want to put in an auto restart function every X hours to skirt the issue...
This was confirmed on my end. I will fix this and add the auto restart to safeguard against any future memory leaks that may arise.
This has been partially fixed and v1.0.17 was updated. The memory gets emptied whenever the pie menu closes. However if somebody runs the pie menu for a really long time while aggressively hovering over different options, the memory increases. Takes a while to get to even 100 MB but I will add a safeguard or fix the leak.
probably a leak related to gdip somewhere, will have to dig deeper