Skip to content

Jetson RAM grows continuously with realtime sensors, but stable with rosbag — expected? (ROS1) #433

@xuanai131

Description

@xuanai131

Hi, I’m running FAST-LIVO2 on a Jetson Orin (8GB), ubuntu 22.04 and ros Humble, all work well (mapping, odometry result are good) except RAM. With realtime sensors (Livox + camera), RSS grows steadily until OOM. With rosbag playback on the same device, RAM stabilizes around 4–5 GB (I have tried to disable pcd_save_en, dense_map_en and enable local_map.map_sliding_en).

I also tried the original repo with ros1 setup (no local modifications) and see the same RAM growth in realtime.

** Environment
Device: Jetson Orin, 8GB RAM
OS: Docker Ubuntu 20.04 on Jetson host Ubuntu 22.04
ROS: ROS1 noetic
Lidar: Livox MID360

** Behavior:
Realtime: RSS grows continuously (e.g., +100–200MB per ~5s) until OOM.
Rosbag: RAM stabilizes around 4–5GB.
Running with ros2 version directly on jetson give the same behavior.

** Questions:

  • Is continuous RAM growth expected for realtime runs on Jetson, and is 8GB insufficient? If so, what minimum RAM do you recommend?
  • Why would rosbag playback be stable, but realtime grows? Is there a known DDS/QoS or sensor timing issue that causes heap growth? (Even though this is ROS1.)
  • Are there recommended parameters or build options to keep memory bounded on embedded devices (e.g., publish settings, map pruning)?
    If there’s a preferred way to profile memory or collect a diagnostic for you, I can run it.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions