-
Chat, is this real? ![]() I'm using OpenBangla Keyboard with it and using Arch Linux. I have not noticed sometime similar to this before. If I remember correctly, I did not write anything in Bangla. |
Beta Was this translation helpful? Give feedback.
Answered by
wengxt
Aug 15, 2025
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did some preliminary analysis. I think it is indeed related to openbangla.
So, whenever there's an new app connected to fcitx, fcitx will pre-allocate some struct for openbangla.
I tried to create new client and can obviously observe that the usage is increasing with new client. However, even if client goes away, the memory is not going down.
The code there is using RAII so doesn't seem to be an issue in fcitx engine glue code.
I tried a small demo program with only https://github.com/OpenBangla/riti/ and try valgrind and shows no real leak.
This leads me to think it might be due to mem fragmentation.
So one solution seems to be using one context instead of multiple context. after all, …