futo-org / android-keyboard

Offical FUTO Keyboard Issue Tracker and Source Mirror of https://gitlab.futo.org/keyboard/latinime
Other
729 stars 25 forks source link

Possible Memory Leak Causing Increased RAM Usage Over Time #524

Closed tamarindojuice closed 2 weeks ago

tamarindojuice commented 2 months ago

What happened?

Process/service starts using like ~40mb of RAM but with usage gets bigger and bigger, sometimes up to the ~400mb. Seems to be a memory leak that increases RAM usage overtime. Screenshot_20240901_192923

Keyboard Version

0.1.23.2 -playstore

Text field info

No response

bradn2 commented 2 months ago

The memory leak I noticed is when any voice model other than the default is set - if you keep doing voice to texts it seems like it keeps loading the model over and over but not freeing it until you close the keyboard. I open a terminal and run "watch free" and then use the keyboard to see this behavior.

abb128 commented 2 weeks ago

This has been fixed in nightly, thanks for reporting