Checklist
App version
/
Problem you are trying to solve
now, if this function is enabled, when memory usage remains above this threshold after cleaning, MR always attempts to clean up, resulting meaningless clean up compared to usual.
Suggested solution
Add a CD counter to it and allow users to configure CD time base, it tells MR when to clean up. After each cleaning, increase it by 1 as a coefficient and multiply it by base to get time of next cleaning, it should have a maximum value. If current memory usage is less than threshold, the counter decreases by 1 for each time base elapsed.
Screenshots / Drawings / Technical details
No response
Checklist
App version
/
Problem you are trying to solve
now, if this function is enabled, when memory usage remains above this threshold after cleaning, MR always attempts to clean up, resulting meaningless clean up compared to usual.
Suggested solution
Add a CD counter to it and allow users to configure CD time base, it tells MR when to clean up. After each cleaning, increase it by 1 as a coefficient and multiply it by base to get time of next cleaning, it should have a maximum value. If current memory usage is less than threshold, the counter decreases by 1 for each time base elapsed.
Screenshots / Drawings / Technical details
No response