Skip to content
Discussion options

You must be logged in to vote

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, …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@codayon
Comment options

@wengxt
Comment options

@codayon
Comment options

@wengxt
Comment options

Answer selected by codayon
@wengxt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants