Set the maximum keyframes to avoid memory problems #214
-
Hi, Is there a way to set a maximum number of keyframes or landmarks to set the maximum RAM size that is usable for SLAM? For example deleting old keyframes if certain threshold has exceeded and etc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
No, it doesn't. If high memory usage is your problem, I recommend you to use use-shared-ptr branch. (Note: I just merged use-shared-ptr into main.) |
Beta Was this translation helpful? Give feedback.
No, it doesn't.
In addition, in the main branch, setting an upper limit on the number of keyframes does not reduce memory usage.
If high memory usage is your problem, I recommend you to use use-shared-ptr branch.
In this branch, unused keyframes are released.
The keyframe limit is not implemented yet, but if you create an issue for a feature request, someone may implement it when they feel like it. Your pull requests are also welcome.
(Note: I just merged use-shared-ptr into main.)