# Question about context and RAM

**URL:** <https://discourse.nodered.org/t/question-about-context-and-ram/47068>\
**Category:** General\
**Created:** [12 June 2021 14:07 UTC](https://discourse.nodered.org/t/question-about-context-and-ram/47068 "2021-06-12T14:07:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 14:20 UTC](https://discourse.nodered.org/t/question-about-context-and-ram/47068/2 "2021-06-12T14:20:35Z")

</div>

> [@ttlooser](#):
>
> 1.Is data stored in RAM when I am using a context.set()  
> (With memory only option)?

Yes, but instead of storing it to RAM, you could save it to the filesystem (disk). If you did so, it initially saves the data to RAM, and then flushes to disk every 30 seconds.  
The 30 seconds is set by default, although it can be changed, 1 minute, 5 minutes etc.

> [@ttlooser](#):
>
> 2.Is there any way to track a usage of RAM(in %)?

Have you searched the [flow catalogue](https://flows.nodered.org/)?  
node-red-contrib-linux-memory  
node-red-contrib-os  
node-red-contrib-device-stats  
just to name a couple.

---

_[View the full topic](https://discourse.nodered.org/t/question-about-context-and-ram/47068)._
