# Save Area Memory

**URL:** <https://community.stereolabs.com/t/save-area-memory/6824>\
**Category:** ROS1\
**Tags:** jetson\
**Created:** [August 16, 2024, 6:39pm UTC](https://community.stereolabs.com/t/save-area-memory/6824 "2024-08-16T18:39:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sesem738](https://community.stereolabs.com/user_avatar/community.stereolabs.com/sesem738/32/3092_2.png) [@sesem738](https://community.stereolabs.com/u/sesem738)\
**Post date:** [August 16, 2024, 6:39pm UTC](https://community.stereolabs.com/t/save-area-memory/6824/1 "2024-08-16T18:39:02Z")

</div>

Hi,  
I am trying to save the area\_memory, but I doesn’t seem to save.  
I edited the zed\_wrapper params to save to area\_memory.area. When I launch the zed2i,

```auto
area_memory_db_path [/home/cerveaux/.ros/area_memory.area] doesn't exist or is unreachable. 
[INFO] [1723833173.381376664]: The file will be automatically created when closing the node or calling the 'save_area_map' service if a valid Area Memory is available.

```

However, it doesn’t save when I close node despite it saying,

```auto
Saving Area Memory file: /home/cerveaux/.ros/area_memory.area

```

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [August 19, 2024, 4:18pm UTC](https://community.stereolabs.com/t/save-area-memory/6824/2 "2024-08-19T16:18:30Z")

</div>

Hi,

Are you using ROS1 or ROS2?

If you are using ROS1, can you try using “save\_area\_memory\_db\_on\_exit” instead?

Best regards

---

<div class="post-metadata">

**Author:** ![sesem738](https://community.stereolabs.com/user_avatar/community.stereolabs.com/sesem738/32/3092_2.png) [@sesem738](https://community.stereolabs.com/u/sesem738)\
**Post date:** [August 19, 2024, 7:01pm UTC](https://community.stereolabs.com/t/save-area-memory/6824/3 "2024-08-19T19:01:34Z")

</div>

I set “save\_area\_memory\_db\_on\_exit” to true and when I used Ctrl + C to exit, it says it is save the area memory, but when I check the save directory, nothing is there.

This is the param that I am using  
[common.yaml](https://community.stereolabs.com/uploads/short-url/7slJACwfs3TVtiaPBvoWKEc2mDT.yaml) (9.8 KB)

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [August 20, 2024, 3:10pm UTC](https://community.stereolabs.com/t/save-area-memory/6824/4 "2024-08-20T15:10:27Z")

</div>

Hi,

It seems that you are trying to use the area file and save it at the same time.  
The use of the area file has two steps, the recording,  
Can you try to set “area\_memory” to false?

Otherwise, you can also call the `save_area_memory` service to force an Area Memory update at any time.
