# Very slow tags editing

**URL:** <https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [August 23, 2022, 10:10am UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320 "2022-08-23T10:10:32Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [August 23, 2022, 10:10am UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/1 "2022-08-23T10:10:32Z")

</div>

I’m on Ignition version **8.1.18 (b2022061518)**  
When I try to import tags or edit a tag name the procedure is very slow and sometimes the Designer freezes. E.g. I’m importing a JSON just now, where about 20 UDT instances are defined and the Designer keeps showing  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f7597ab0eef27e0873968b78b36af78d4943655c.png)  
with no/little progress.  
Any idea?

**UPDATE**  
After long waiting, this is the result:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/1/f1e6fefe926906ab2a27b923e755a961478a05f7.png)  
but the Designer is running on the same PC where the Gateway is running.

**UPDATE (2)**  
I’ve gone through a pc reboot and now Ignition keeps showing _Ignition gateway is starting_ while filling the _wrapper.log_ up with next messages:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/b/cb31f7e4e471d17b86b9c05c5d327e39b1d7fa7d.png)  
Really no idea how to get further … 20 minutes to start …

---

<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:** [August 23, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/2 "2022-08-23T13:05:34Z")

</div>

Hmm, you probably need to contact support and provide a backup or tag export.

There was an issue with slow startup when there were deeply nested UDTs but that was fixed before 8.1.18. There may be something else I’m not aware of, or something new given the quantity or structure of your tags.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [August 23, 2022, 1:15pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/3 "2022-08-23T13:15:40Z")

</div>

Hi Kevin,  
thanks for your reply. What’s also weird is memory consumption:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/d/6d83f355a21cb965f307f310fc306c0f66e5a486.png)  
Never seen such a busy gateway. Since I inherited this project and I’m not aware of what exactly has been done until now, can you suggest me a way to inspect memory usage?  
Thanks, regards

**one more detail …**  
After waiting the end of a tags import, I got this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/4953437a3dd57504d31ebc2f6abebb1a48a8bbe7.png)

---

<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:** [August 23, 2022, 1:33pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/4 "2022-08-23T13:33:38Z")

</div>

Inspecting memory usage isn’t a straightforward task, even with a heap dump and profiling tool it’s sometimes hard to figure out where it’s coming from, especially if there’s not one obvious thing or a leak to chase.

Figure out how many tags you have to start, I guess. Should be able to see it in the gateway status somewhere.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [August 23, 2022, 1:43pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/5 "2022-08-23T13:43:36Z")

</div>

I’ve just tried to install Ignition 8.1.19 and restore the project there: same behavior, in the wrapper.log the following message appears repeatedly at startup:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/d/5dcd7949488f5f40c745d545f246a1c2dbe9a71b.png)  
and in the meanwhile the gateway is _starting_.

---

<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:** [August 23, 2022, 1:45pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/6 "2022-08-23T13:45:21Z")

</div>

There's another change coming in 8.1.20 that helps tag loading / startup time as well. You can try the RC or wait until it's released today/tomorrow to see if it helps.

The release note is something like:

> Reduce memory usage on gateway startup.

but it came to us described as slow startup of tags / tag providers.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [August 23, 2022, 2:01pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/7 "2022-08-23T14:01:43Z")

</div>

Do you have a different project you can restore, maybe from a week or so?

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [August 23, 2022, 2:03pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/8 "2022-08-23T14:03:25Z")

</div>

> [@jlandwerlen](#):
>
> different project you can restore

Just trying to do that, thanks

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [August 23, 2022, 4:57pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/9 "2022-08-23T16:57:08Z")

</div>

Hi all,  
I think I found the problem: I added some UDTs to manage pumps, each UDT having a 32 bit dword for 32 alarms (among other things). Each alarm has a Display path which is an _expression_ like that:  
`concat('[DB',{DBnr},'.DBX',{StartByte}+1,'.0] - ',translate({InstanceName}),' - ',translate('Emergency push button pressed))`  
That expression seems to be very heavy for Ignition, not only as far as new tags definition is concerned (the Designer tag browser gets very slow), but also for the gateway memory usage, which I personally don’t understand - I tried to limit the _DisplayPath_ to a simple _string_ and the problem disappears. If I import a json file where about 20 pumps of that UDT type are defined, the Designer looses even the communication with the gateway and the _Configuring running tags_ popup takes minutes to disappear, while the gateway memory usage climbs up to 7 GB … horrible …

---

<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:** [August 23, 2022, 4:59pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/10 "2022-08-23T16:59:26Z")

</div>

Hmmm. Translate probably should not be used in a tag definition. Translate at point of display so different clients can have different languages at the same time.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [August 23, 2022, 5:31pm UTC](https://forum.inductiveautomation.com/t/very-slow-tags-editing/63320/11 "2022-08-23T17:31:35Z")

</div>

> [@pturmel](#):
>
> Translate probably should not be used in a tag definition

You are right @pturmel , the offending part of the expression is `translate`: after deleting every `translate` call, the project is ok again. Unfortunately that is a big problem for me: I will look for a workaround.  
Thanks, regards
