# Ignition Gateway Memory

**URL:** <https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 21, 2024, 3:54am UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163 "2024-04-21T03:54:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Hamilton](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Christopher\_Hamilton](https://forum.inductiveautomation.com/u/Christopher_Hamilton)\
**Post date:** [April 21, 2024, 3:54am UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/1 "2024-04-21T03:54:18Z")

</div>

Hello all,  
Looking for some guidance on a recent memory issue with my Primary Gateway. See photos. any ideas where to start looking to troubleshoot this? My gateway is going bonkers at the moment because of the 100% memory use. Using Ignition 8.1, Vision.

 ![IMG_3646](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/b/5bb5a4c9028cb244867b880901da0cf9512145b1.jpeg)  
 ![IMG_3648](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/a/2a769cf5ff733a603667dbca112d5e109fcfd964.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 21, 2024, 8:44am UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/2 "2024-04-21T08:44:53Z")

</div>

> CPU and memory allocation should be determined by the engineers creating the Ignition projects. The suggested requirements are a dual-core processor with 4GB of RAM and 10GB of available storage space.

It looks like you've only got 2GB of RAM.

> **[Ignition Historian Guide | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/tutorials/ignition-historian-guide#benchmarking)**
>
> Ignition’s data historian functionality is a robust set of features that are built into Ignition modules, providing data acquisition, storage, retrieval, and visualization.

Tip: crop the screengrabs. Yours are \>60% black space.

---

<div class="post-metadata">

**Author:** ![Christopher\_Hamilton](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Christopher\_Hamilton](https://forum.inductiveautomation.com/u/Christopher_Hamilton)\
**Post date:** [April 21, 2024, 1:54pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/3 "2024-04-21T13:54:05Z")

</div>

Everything was fine until about 7pm, when the memory usage went up to 100% for some reason.

---

<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 21, 2024, 2:06pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/4 "2024-04-21T14:06:22Z")

</div>

> [@Christopher\_Hamilton](#):
>
> for some reason.

Ok, what else was happening at that time? Have you looked at your wrapper log in the suspicious time frame?

---

<div class="post-metadata">

**Author:** ![Christopher\_Hamilton](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Christopher\_Hamilton](https://forum.inductiveautomation.com/u/Christopher_Hamilton)\
**Post date:** [April 21, 2024, 2:40pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/5 "2024-04-21T14:40:55Z")

</div>

See the screen shots below, at 7:01PM last night it started, preceeding that time there are numerous "ClockDriftDetector" Warnings.

 ![7pm](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8ebec46995bb4fd1879af6b957715e35dcf43232.png)

Then after 10:00PM everything went back to normal, even the memory allocation went way down.

 ![10pm](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/df2eaaa18f2d418f68b5a55f812d1829553ac3bf.png)  
 ![Memory Now](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/9/89859e828a22c885f88d7fe12201426b3b502e56.png)

I still plan on increasing the memory allocation, however I still want to know what the heck happened.

---

<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 21, 2024, 4:50pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/6 "2024-04-21T16:50:39Z")

</div>

Redundancy synchronization problems, looks like. You probably need support to look closer. Also, if you grab a gateway backup, how big is it? (That is approximately the amount of memory needed on the primary to perform a "full" synchronization.) If a full resync is requested when there's not enough free memory, you get a pathological repeating resync loop.

---

<div class="post-metadata">

**Author:** ![Christopher\_Hamilton](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Christopher\_Hamilton](https://forum.inductiveautomation.com/u/Christopher_Hamilton)\
**Post date:** [April 21, 2024, 5:28pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/7 "2024-04-21T17:28:43Z")

</div>

A gateway backup is about 16mb, (so approx 16GB memory allocation?). Thank you, I will get a ticket started.

---

<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 21, 2024, 7:02pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/8 "2024-04-21T19:02:01Z")

</div>

> [@Christopher\_Hamilton](#):
>
> 16mb, (so approx 16GB memory allocation?

No, 16mb is reasonable. I've seen hundreds of megabytes when a gateway has had many upgrades and many project revisions and many tag or project import/exports. Newer Ignition is supposed to clean up behind itself better, so I haven't seen this in a while.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [April 21, 2024, 10:46pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-memory/89163/9 "2024-04-21T22:46:19Z")

</div>

We had a customer site exhibiting this and the backup gateway wasn't syncing. Got them talking and the memory, cpu usage, designer behaviour etc... all went back to normal.

I'd get the backup syncing first.
