You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many tricks may be take if you think the issue is about STL container.
shrink_to_fit , but mostly limited to vector
do deep copy on the data.
Have you ever tried to use run heap profiler like massif to see where can be improved?
No, I haven't. I don't think improving dictionary building is worth the effort.
Ideally deployment should be done offline. https://github.com/rime/weasel has it implemented as a separate depoyer process. For Linux and macOS, there is the rime_deployer executable to do the same, but it has to access user data files exclusively. The missing part is a cross-platform way to communicate with the running engine process and temporarily put it in maintenance mode.
Not sure if we use the API right, but we just simply call start_maintainence.
ibus-rime seems to be affected the same issue.
Easy way to reproduce it to remove all all start and start from a clean environment. The initial deployment will not release its memory.
The text was updated successfully, but these errors were encountered: