Back to search

State University of New York at Buffalo

An Investigation of Deletion Schemes for Dynamically Allocated Objects in ORBSLAM3

Abstract

dc:description.abstract

ORBSLAM3 is a simultaneous localization and mapping system that provides a high rate of accuracy compared to other SLAM systems available. It is significantly more robust in terms of image processing and has several new features ranging from multiple maps to various other optimizations. However, ORBSLAM3 does not have a scheme in place to free/reuse dynamically allocated memory. Dynamic memory allocation is used widely for storing image data/keyframes and marking 3D locations of features shared by several keyframes (also called map points). The lack of such a scheme could potentially cause heap memory to be depleted provided the system runs for a long time, along with a huge number of memory leaks. The complexity in coming up with a viable scheme arises from the fact that most of the heap allocated memory within the system should be accessible by multiple threads at the same time. As a result, predicting the lifetime of such objects is nontrivial. The deletion of such objects without any proper mechanism in place results in segmentation faults. This happens because the program encounters dangling pointers - references to previously freed heap allocated objects. This work outlines several experiments and methods that were used to come up with a proper deletion scheme that is memory safe. It also explores other possible solutions to the issue of reclaiming memory.

Degree

thesis:*
Grantor dc:publisher
State University of New York at Buffalo
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Vinod, Nitin
Contributors dc:contributor
  • Ziarek, Lukasz
  • Computer Science and Engineering

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/10477/89397

Chain of custody

source
Harvested from
Buffalo
Base URL
ubir.buffalo.edu/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Vinod, Nitin. An Investigation of Deletion Schemes for Dynamically Allocated Objects in ORBSLAM3. State University of New York at Buffalo, 2024. http://hdl.handle.net/10477/89397