-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recommender: clear_row don't free acquired resources #294
Comments
Current implementation doesn't provide its solution without Because their https://github.com/jubatus/jubatus/blob/master/src/recommender/lsh.cpp#L92 |
As @suma said, current implementation doesn't run any compaction on tables in recommenders. Note that we cannot save memory before MIX, because we must retain markers representing removals in diff and share them with other servers on MIX. For example, |
I'm currently facing this problem in my project using standalone-mode... and hoping this to be solved in Jubatus layer. |
We can erase an entry in the diff table that is not contained in the master table, because we do not need to MIX such entry with other servers. If we fix the implementation to behave as such, the standalone-mode server just erases items on removal, while distributed-mode servers correctly MIXes removals. |
In today's meeting, we agreed to fix this using the method proposed by @beam2d. |
After applying #659, #685, and #694, I observed some mitigation. Some things to note:
Here are RSS values tested on Recommender (inverted_index): 0.5.2
0.5.2 + Patch #659, #685 and #694
|
We should try |
From discussion in meeting in 2014-03-03, we asked @gintenlabo to try rehash and other possible ideas. |
I tried |
As we think this behavior is by-design, we close this issue. |
I tried to measure memory size on before and after call
clear_row
.The result is following. The value is
RSS
size which got by usingget_status
.We cannot use jubarecommender long time without some solution (e.g. stop service and add memory ...).
The text was updated successfully, but these errors were encountered: