rtabmap
rtabmap copied to clipboard
iOS: Crash and high RAM spike when using 16384×16384 texture size during textured mesh creation
Description We need very high-resolution textures for our meshes, so we set Texture Size to 16384×16384. However, during textured mesh creation this causes a large RAM spike and often crashes the application. At 8192×8192, the memory spike is much smaller (see screenshot).
As an alternative I tried using Settings → Assembling → Maximum Output Textures with a lower resolution but multiple files, but that approach failed (see linked issue (https://github.com/introlab/rtabmap/issues/1538)).
To Reproduce
- Launch RTAB-Map.
- Open Settings → Assembling.
- Set Texture Size to 16384.
- Close settings and start a new mapping/mesh session.
- Perform a scan and proceed to Create Mesh with texturing enabled.
- Observe RAM usage and application stability.
Related comment https://github.com/introlab/rtabmap/issues/1538#issuecomment-2982579454