{"id":{"repo_id":"buffalo","oai_identifier":"oai:ubir.buffalo.edu:10477/89397"},"canonical_url":"https://search.ndltd.org/etd/buffalo/oai:ubir.buffalo.edu:10477/89397","repository":{"repo_id":"buffalo","name":"Buffalo","base_url":"https://ubir.buffalo.edu/oai/request"},"display":{"title":"An Investigation of Deletion Schemes for Dynamically Allocated Objects in ORBSLAM3","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Vinod, Nitin"],"institution":"State University of New York at Buffalo","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":["Ziarek, Lukasz","Computer Science and Engineering"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024","date_published":"2024","updated_at":"2026-11-19T07:10:42Z","subjects":["computer science"],"languages":["eng"],"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."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10477/89397","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"https://hdl.handle.net/10477/89397","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abuffalo%3Aoai%3Aubir.buffalo.edu%3A10477%2F89397","prefix":"oai_dc"},"source_record":{"url":"https://ubir.buffalo.edu/oai/request?verb=GetRecord&metadataPrefix=qdc&identifier=oai%3Aubir.buffalo.edu%3A10477%2F89397","prefix":"qdc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Ziarek, Lukasz","Computer Science and Engineering"]},{"key":"dc:creator","label":"Author","values":["Vinod, Nitin"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-11-21T18:14:59Z","2024","2024-01-09 23:50:05"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-11-21T18:14:59Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-11-21T18:14:59Z"]},{"key":"dc:date.issued","label":"Date","values":["2024"]},{"key":"dc:publisher","label":"Institution","values":["State University of New York at Buffalo"]},{"key":"dc:type","label":"Dc Type","values":["Text","Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://hdl.handle.net/10477/89397"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["M.S.","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.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"]},{"key":"dc:description.abstract","label":"Abstract","values":["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.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["An Investigation of Deletion Schemes for Dynamically Allocated Objects in ORBSLAM3"]}]}],"canonical_facts":{"dc:contributor":["Ziarek, Lukasz","Computer Science and Engineering"],"dc:creator":["Vinod, Nitin"],"dc:date":["2025-11-21T18:14:59Z","2024","2024-01-09 23:50:05"],"dc:date.available":["2025-11-21T18:14:59Z"],"dc:date.created":["2025-11-21T18:14:59Z"],"dc:date.issued":["2024"],"dc:description":["M.S.","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.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"],"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.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"],"dc:format":["application/pdf"],"dc:identifier":["http://hdl.handle.net/10477/89397"],"dc:language":["eng"],"dc:publisher":["State University of New York at Buffalo"],"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."],"dc:subject":["computer science"],"dc:title":["An Investigation of Deletion Schemes for Dynamically Allocated Objects in ORBSLAM3"],"dc:type":["Text","Thesis"]},"updated_at":"2026-11-19T07:10:42Z"}