Skip to content

Commit

Permalink
fix: LD_PRELOAD
Browse files Browse the repository at this point in the history
Signed-off-by: atsushi421 <[email protected]>
  • Loading branch information
atsushi421 committed Dec 3, 2024
1 parent 6012c97 commit 3d7cdc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions common_sensor_launch/launch/nebula_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def create_parameter_dict(*args):
("pandar_points", "pointcloud_raw_ex"),
("velodyne_points", "pointcloud_raw_ex"),
],
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
extra_arguments=[
{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
)
)

Expand Down Expand Up @@ -266,7 +267,7 @@ def create_parameter_dict(*args):
composable_node_descriptions=nodes,
output="both",
additional_env={
'LD_PRELOAD': 'libagnocast_heaphook.so',
'LD_PRELOAD': f"libagnocast_heaphook.so:{os.getenv('LD_PRELOAD', '')}",
'MEMPOOL_SIZE': '1073741824', # 1GB
},
)
Expand Down

0 comments on commit 3d7cdc8

Please sign in to comment.