-
Notifications
You must be signed in to change notification settings - Fork 761
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
iOS: Memory usage #1278
Comments
Unless there is a memory leak, the memory should be reclaimed when starting a new scan. However if on iOS it is like on unix system, the RAM may appear not released though it is. For example, if the second scan is smaller than the first one, the memory usage may remain at 1000 after mapping. |
Thank You for the reply.
|
Total of bytes is around 1.5MB. Most of these functions are called only once, so maybe not the source of the huge memory usage you are seeing. A |
Hello, I'm trying to user RTABMap inside an iOS application but I have some memory problems.
I added the ViewController in a navigationViewController and it works as expected.
When I start a new scan the memory usage is about 200MB, the problem is the second scan: when I pop the ViewController with the scanner and then add it back to the navigation stack the initial memory usage is very high (I ended a scan with an M1 iPad Pro at about 1300MB of memory usage, and the next scan started with a memory usage of about 1000MB)
Is there a way to free the memory after popping the RTABMap ViewController from the navigation stack?
Thank You
The text was updated successfully, but these errors were encountered: