# How to find memory leaks in scripts?

**URL:** <https://forum.inductiveautomation.com/t/how-to-find-memory-leaks-in-scripts/75568>\
**Category:** Ignition\
**Created:** [June 27, 2023, 9:48am UTC](https://forum.inductiveautomation.com/t/how-to-find-memory-leaks-in-scripts/75568 "2023-06-27T09:48:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [June 27, 2023, 1:31pm UTC](https://forum.inductiveautomation.com/t/how-to-find-memory-leaks-in-scripts/75568/3 "2023-06-27T13:31:50Z")

</div>

Turn off the suspects for long enough to see if the problem stops growing.

If you cannot do that, VisualVM profiling combined with heap dumps. But be aware that such profile can cause breakage on its own--it is very invasive and can cause pathological execution pauses.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-find-memory-leaks-in-scripts/75568)._
