-
|
We're experiencing severe memory leaks when using CatBoost v1.2.8 on Linux ARM64 (aarch64) in production. Memory grows continuously and never gets freed, even though Environment
Observed Behavior
Root Cause InvestigationAfter investigating the source code, I found that the allocator was fixed in commits made after v1.2.8 was released: 1. Initial Fix (July 14, 2025)Commit:
2. Final Fix (July 15, 2025)Commit:
QuestionWhen is v1.2.9 expected to be released? The v1.2.8 release was on April 12, 2025 (10 months ago), and the allocator fixes are now on the main branch. We need the fixed precompiled binaries to resolve our production memory issues. Are there any known issues with memory in this library? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Thank you for bringing attention to this issue.
I expect it to be released this week. You can also check out binaries built in GitHub Actions CI from the master branch to confirm that your issues have been resolved. |
Beta Was this translation helpful? Give feedback.
-
|
@andrey-khropov I also saw some similar issues related to this and were not addressed. Posting them here for any case :) |
Beta Was this translation helpful? Give feedback.
-
|
@andrey-khropov Hey quick update here and for anyone who encounters this issue. So I found out theres a new method called |
Beta Was this translation helpful? Give feedback.
@andrey-khropov Hey quick update here and for anyone who encounters this issue. So I found out theres a new method called
LoadFullModelZeroCopywhich is not available inv1.2.8. I used most recent un-official release binaries and started to use this method instead of the other load methods. This removes the model from memory immediately when using the rust binding.