# Very high RAM usage

**URL:** <https://forum.inductiveautomation.com/t/very-high-ram-usage/20995>\
**Category:** Ignition Early Access\
**Created:** [November 21, 2018, 1:42pm UTC](https://forum.inductiveautomation.com/t/very-high-ram-usage/20995 "2018-11-21T13:42:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gljuk](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@gljuk](https://forum.inductiveautomation.com/u/gljuk)\
**Post date:** [November 21, 2018, 1:42pm UTC](https://forum.inductiveautomation.com/t/very-high-ram-usage/20995/1 "2018-11-21T13:42:24Z")

</div>

Hello, dear Community  
Have just updated 7.9 version to last night build of Ignition 8 beta. Our test server has 6gb on ram and was running 7.9 fine. Now it takes almost all of RAM memory just after being started. Current memory consumption of java.exe (stands for the gateway) is 3800mb and windows shows there is 37mb free with almost full Physical Memory Usage Graph history.

But the Gateway performance page shows it consumes only 602mb of ram. Very interesting. Have smb experienced the same behaviour?

Thanks!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 21, 2018, 2:01pm UTC](https://forum.inductiveautomation.com/t/very-high-ram-usage/20995/2 "2018-11-21T14:01:47Z")

</div>

How much ram is allocated to Ignition in the `ignition.conf` file?

---

<div class="post-metadata">

**Author:** ![gljuk](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@gljuk](https://forum.inductiveautomation.com/u/gljuk)\
**Post date:** [November 21, 2018, 2:48pm UTC](https://forum.inductiveautomation.com/t/very-high-ram-usage/20995/3 "2018-11-21T14:48:34Z")

</div>

Thank you, Kevin for a quick reply.

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=3200

We have solved RAM usage problem with getting Gateway backup and restoring it right after. Now after running for a while, the java.exe takes 900mb which is a good enough.

Thanks.

One more feedback: there is something with expression tags. They are not being executed properly. DB tags return bad status with “no database defined” error, but actually it IS defined. After modifying them twice (make some difference and then return back), they start to work preperly.
