It's basically here: https://github.com/AkazaRenn/FruitLanguageSwitcher/blob/dev/minimalist/Core/Hotkey.cs
Regularly the compiled program consumes like 80MB RAM, but once either of the hotkeys that involves SendPipeMessage is triggered, the memory usage bumps up to 4GB for about 10 sec, then get back to normal. The hotkey function will be unavailable during that time. You can refer to https://github.com/AkazaRenn/FruitLanguageSwitcher/blob/dev/minimalist/Core/Hotkey/CapsLock.ahk for the hotkey. Just hitting & releasing capslock should trigger it.
Is it something I should expect to happen to everyone, or an issue on my own side?
Thanks in advance!
AutoHotkey.Interop SendPipeMessage() Eats 4GB RAM
-
- Posts: 9
- Joined: 30 Nov 2019, 15:44
-
- Posts: 9
- Joined: 30 Nov 2019, 15:44
Re: AutoHotkey.Interop SendPipeMessage() Eats 4GB RAM
Seems like a born nature of the pipe implementation, I've tried another approach which worked quite well: https://github.com/amazing-andrew/AutoHotkey.Interop/issues/9#issuecomment-314519379
Who is online
Users browsing this forum: No registered users and 59 guests