# DiskDataStore Error

**URL:** <https://forum.inductiveautomation.com/t/diskdatastore-error/71629>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 27, 2023, 12:38pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629 "2023-03-27T12:38:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![drinaldi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drinaldi/32/32068_2.png) [@drinaldi](https://forum.inductiveautomation.com/u/drinaldi)\
**Post date:** [March 27, 2023, 12:38pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/1 "2023-03-27T12:38:46Z")

</div>

Hello, has anyone seen errors like this? Not even sure where to being to search for this?  
Thanks

 ![Untitled](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/d/ed47570b9da46280aae1b33dae06bbff222ad1c0.jpeg)

---

<div class="post-metadata">

**Author:** ![user17](https://avatars.discourse-cdn.com/v4/letter/u/a9a28c/32.png) [@user17](https://forum.inductiveautomation.com/u/user17)\
**Post date:** [March 27, 2023, 12:50pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/2 "2023-03-27T12:50:17Z")

</div>

I got the same errors ignition 7.9

---

<div class="post-metadata">

**Author:** ![drinaldi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drinaldi/32/32068_2.png) [@drinaldi](https://forum.inductiveautomation.com/u/drinaldi)\
**Post date:** [March 27, 2023, 12:59pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/3 "2023-03-27T12:59:17Z")

</div>

Hi, were you able to figure it out?

---

<div class="post-metadata">

**Author:** ![user17](https://avatars.discourse-cdn.com/v4/letter/u/a9a28c/32.png) [@user17](https://forum.inductiveautomation.com/u/user17)\
**Post date:** [March 27, 2023, 1:06pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/4 "2023-03-27T13:06:16Z")

</div>

Nope, I just found it in logs. It looks like it stated a week ago happed about 15 times since there. And I feel that trending works slow plus "SQL Server" process in Task Manager taking about 70% of total server memory. I think that something not working properly between Ignition and SQL server. Planning to reboot gateway and see what happen. Will post update soon

---

<div class="post-metadata">

**Author:** ![drinaldi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drinaldi/32/32068_2.png) [@drinaldi](https://forum.inductiveautomation.com/u/drinaldi)\
**Post date:** [March 27, 2023, 1:11pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/5 "2023-03-27T13:11:16Z")

</div>

OK, thanks, let me know.

---

<div class="post-metadata">

**Author:** ![user17](https://avatars.discourse-cdn.com/v4/letter/u/a9a28c/32.png) [@user17](https://forum.inductiveautomation.com/u/user17)\
**Post date:** [March 27, 2023, 1:21pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/6 "2023-03-27T13:21:35Z")

</div>

Sent Gateway to reboot, performance looks better, Ignition memory usage reduced from 3-4 GB to 700MB. But SQL Server still using Crazy amount of memory. Next step Reboot Windows server.

---

<div class="post-metadata">

**Author:** ![user17](https://avatars.discourse-cdn.com/v4/letter/u/a9a28c/32.png) [@user17](https://forum.inductiveautomation.com/u/user17)\
**Post date:** [March 27, 2023, 1:35pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/7 "2023-03-27T13:35:19Z")

</div>

Server Reboot reduced SQL server memory usage went to 1,5 Gb and Ignition Gateway performance went up. Will wait if DiskDataStorage come back.

---

<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:** [March 27, 2023, 1:46pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/8 "2023-03-27T13:46:45Z")

</div>

> [@user17](#):
>
> Server Reboot reduced SQL server memory usage went to 1,5 Gb and Ignition Gateway performance went up.

Running your DB on the same server as Ignition in production is only suitable for the lightest loads. Consider not doing that.

Meanwhile, inspect your `ignition.conf` file's memory settings, and make sure the initial heap is set to the maximum heap. That tells Ignition to claim all of its heap up front, minimizing the opportunity for swap memory thrashing.

---

<div class="post-metadata">

**Author:** ![drinaldi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drinaldi/32/32068_2.png) [@drinaldi](https://forum.inductiveautomation.com/u/drinaldi)\
**Post date:** [March 27, 2023, 2:03pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/9 "2023-03-27T14:03:58Z")

</div>

for this project the DB is on a separate server.

in this `ignition.conf file it is set to:

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=1024

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=4096

so setting Initial Java Heap Size to 4096 should help?

Thanks

---

<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:** [March 27, 2023, 2:07pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/10 "2023-03-27T14:07:07Z")

</div>

Yes. Java doesn't ever return memory once it has allocated it from the OS. If it doesn't need to ramp up to maximum until many minutes after startup, other services on the same machine (and the OS's own buffers) may assume they have enough, and then get pushed to swap when Java grabs more memory. This can push a system into swap thrashing, and performance craters.

---

<div class="post-metadata">

**Author:** ![drinaldi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drinaldi/32/32068_2.png) [@drinaldi](https://forum.inductiveautomation.com/u/drinaldi)\
**Post date:** [March 27, 2023, 2:08pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/11 "2023-03-27T14:08:22Z")

</div>

Oh wow, OK. I will update Initial Java heap now.  
Thanks for the help!!!

---

<div class="post-metadata">

**Author:** ![user17](https://avatars.discourse-cdn.com/v4/letter/u/a9a28c/32.png) [@user17](https://forum.inductiveautomation.com/u/user17)\
**Post date:** [March 27, 2023, 2:48pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/12 "2023-03-27T14:48:51Z")

</div>

Hey, thank you for responding, I bump it up to 4 GB a month ago, but DiskDataStorage message showed up first time a week ago never seen this error before. I think that our IT did some SQL DB maintenance that probably was cause of this issue.

---

<div class="post-metadata">

**Author:** ![drinaldi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drinaldi/32/32068_2.png) [@drinaldi](https://forum.inductiveautomation.com/u/drinaldi)\
**Post date:** [March 27, 2023, 3:03pm UTC](https://forum.inductiveautomation.com/t/diskdatastore-error/71629/13 "2023-03-27T15:03:25Z")

</div>

That did the trick, I have been watching it for the past hour and have not seen that error at all.  
Thanks again!
