lostallmymoney/Razer_Mouse_Linux

memory leak

Closed this issue · 4 comments

Any memleak hunter around ? I know the memory is leaking everytime it creates new FakeKey structs and doesn't fully deallocate them but I'm having a hard time deallocating everything for today.

Hi,
i didn't fully understand what you mean with memory leaking, but i have try with bpytop and i've notice that the service naga initialy use 4M of memory and when i press the naga button that write my email adress (with the famous @) the memory usage grow 2M every 5 press, and never return to 4M. Now I try the new version if it has the same behavior.

Let me know ! Rn I'm having a hard time using more than 500 KiB memory with it

hmm, seems like there is still some memory leaking after all, still seems like it's coming from libfakekey but no way it's going to astronomical levels right now. It also crashes sometimes and I can't seem to find where for now :/

Seems fixed !