# Are memory tags persistent?

**URL:** <https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244>\
**Category:** Ignition\
**Created:** [April 3, 2021, 5:52pm UTC](https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244 "2021-04-03T17:52:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adriaan.leRoux](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Adriaan.leRoux](https://forum.inductiveautomation.com/u/Adriaan.leRoux)\
**Post date:** [April 3, 2021, 5:52pm UTC](https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244/1 "2021-04-03T17:52:28Z")

</div>

Pretty much as the title says, I want to know if memory tags are persistent, do they retain their values when the machine running the gateway resets, or are these values all cleared?

If not, would the best way to implement something like that be to write the values into a SQL table?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 3, 2021, 6:06pm UTC](https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244/2 "2021-04-03T18:06:36Z")

</div>

Yes, they are persistent. I’m not sure what the timing tolerances are. That is, if the gateway abruptly dies x seconds after writing a memory tag, what are the chances of losing that last write?

Also, there are potential issues with very large documents or dataset memory tags not fitting in the internal database. Or were. What version are you working with?

---

<div class="post-metadata">

**Author:** ![Adriaan.leRoux](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Adriaan.leRoux](https://forum.inductiveautomation.com/u/Adriaan.leRoux)\
**Post date:** [April 3, 2021, 6:08pm UTC](https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244/3 "2021-04-03T18:08:48Z")

</div>

Currently running version 8.1.

I essentially want to know if I set a bit if that bit will still remain set after the gateway crashes, very good to know! Couldn’t find much information about it, and I would have liked to know before building the code.

Thank you

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [July 27, 2023, 1:00am UTC](https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244/4 "2023-07-27T01:00:15Z")

</div>

I would like to know as well, the persistence of memory tag. I keep project configuration (dataset) in this tag. that remains constant.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 27, 2023, 1:05am UTC](https://forum.inductiveautomation.com/t/are-memory-tags-persistent/45244/5 "2023-07-27T01:05:37Z")

</div>

Restart your gateway. If the dataset content is still there, it wasn't too large. 🤷‍♂️
