# VisualVM

**URL:** <https://forum.inductiveautomation.com/t/visualvm/10924>\
**Category:** 3rd Party Modules\
**Created:** [December 16, 2015, 10:00am UTC](https://forum.inductiveautomation.com/t/visualvm/10924 "2015-12-16T10:00:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [December 16, 2015, 10:00am UTC](https://forum.inductiveautomation.com/t/visualvm/10924/1 "2015-12-16T10:00:56Z")

</div>

Hello,

I’m trying to monitor the memory consumption of one of my module. I’ve found that [VisualVM](https://visualvm.java.net/) could fit my needs. (I seems to be able to connect to a JVM through the wrapper by using a JMX Connection)

I was wondering if someone already accomplished a connection to the Gateway with this software.

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:** [December 16, 2015, 1:44pm UTC](https://forum.inductiveautomation.com/t/visualvm/10924/2 "2015-12-16T13:44:30Z")

</div>

VisualVM can connect to a running gateway without issue. Have you tried it?

---

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [December 16, 2015, 2:51pm UTC](https://forum.inductiveautomation.com/t/visualvm/10924/3 "2015-12-16T14:51:13Z")

</div>

Thank you for the reply.

Yes I’ve tried but the connection is unsuccessful so far. The Gateway does not appear in the left panel (Local/Remote/Snapshots). I can only see the VisualVM process (under Local).

Ignition version is 7.7.5  
VisualVM version is 1.3.8  
OS is Windows 10 (Firewall set to OFF)

---

<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:** [December 16, 2015, 3:32pm UTC](https://forum.inductiveautomation.com/t/visualvm/10924/4 "2015-12-16T15:32:34Z")

</div>

Are you running Ignition with the JVM or the JDK? It shows up for me, as this: [attachment=0]Screen Shot 2015-12-16 at 7.31.16 AM.png[/attachment]

I’m using the JDK; I’m not sure if that makes a difference though.

---

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [December 16, 2015, 4:19pm UTC](https://forum.inductiveautomation.com/t/visualvm/10924/5 "2015-12-16T16:19:40Z")

</div>

I was running from the JRE.

I installed the very last version of the JDK (66) and changed the path in ignition.conf in order to use this JDK.

I can see other visualVM instance launched as well as Designers but still no Gateway in the list.

---

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [December 16, 2015, 4:46pm UTC](https://forum.inductiveautomation.com/t/visualvm/10924/6 "2015-12-16T16:46:47Z")

</div>

I changed the Ignition user account to the same as the one used to launch VisualVM and I can see the Gateway in the list.  
It is the only thing that works for now as all other features are said to be “Not supported for this JVM” but it is the right direction.

Thanks for the help.
