# System.util.retarget("x") memory issues?

**URL:** <https://forum.inductiveautomation.com/t/system-util-retarget-x-memory-issues/116475>\
**Category:** Ignition\
**Created:** [July 21, 2026, 12:39pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-x-memory-issues/116475 "2026-07-21T12:39:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![douglas.lane](https://avatars.discourse-cdn.com/v4/letter/d/f6c823/32.png) [@douglas.lane](https://forum.inductiveautomation.com/u/douglas.lane)\
**Post date:** [July 21, 2026, 12:39pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-x-memory-issues/116475/1 "2026-07-21T12:39:59Z")

</div>

We recently upgraded from 8.1.16 to 8.3 and hadn't had this issue in the past. We use a home screen that has button presses of system.util.retarget() to redirect to different projects for different areas. Many people only use this to go to one project, but we have super users who go back and forth between different projects, back to home, etc. After 3-4 retargets, I believe we are hitting a memory limit and many of the metrics display the incorrect tag values or are grayed out. I read that there could be memory allocated each retarget, eventually running out of space, and that restarting may be the only solution. Has anyone ran into this, and are there any solutions outside of making those super users close and reopen their clients manually each time they go between projects? 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:** [July 21, 2026, 3:27pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-x-memory-issues/116475/2 "2026-07-21T15:27:34Z")

</div>

IIRC, retarget doesn't restart the JVM, so any memory settings on the initial project will carry forward to any others, ignoring the project-specfic settings for those.

I also recall there being **some** leakage related to retargeting, but I don't recall the specifics. (My clients use separate desktop shortcuts for Vision, not a common "home" project.)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 21, 2026, 4:16pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-x-memory-issues/116475/3 "2026-07-21T16:16:52Z")

</div>

> [@pturmel](#):
>
> IIRC, retarget doesn't restart the JVM, so any memory settings on the initial project will carry forward to any others, ignoring the project-specfic settings for those.

I think we fixed this at some point mid-stream 8.1; there's also a mechanism to force the JVM to relaunch in case you've moved between gateways with different requirements, such as Java versions.

@douglas.lane I would consider this a bug; could you report it in to our support department officially?

---

<div class="post-metadata">

**Author:** ![douglas.lane](https://avatars.discourse-cdn.com/v4/letter/d/f6c823/32.png) [@douglas.lane](https://forum.inductiveautomation.com/u/douglas.lane)\
**Post date:** [July 23, 2026, 2:41pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-x-memory-issues/116475/4 "2026-07-23T14:41:09Z")

</div>

Just to share what support said in case anyone else sees this: You are encountering a known bug that affects versions 8.3.0 to 8.3.7 when using the system.util.retarget/system.vision.retarget script. Unfortunately, there is no workaround to fix this issue in these versions.

However, the good news is that this issue has been resolved and fixed in version 8.3.8. You can upgrade to version 8.3.8 to completely get rid of this issue.
