# \[Solved\] Issue with ignition, conection

**URL:** <https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [June 6, 2022, 4:53pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414 "2022-06-06T16:53:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [June 6, 2022, 4:53pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/1 "2022-06-06T16:53:18Z")

</div>

Hello everyone, I am having an issue with ignition , because I got an 503 error and is disconnected so many times and know says this :

java.lang.Exception: Error running query:  
com.inductiveautomation.factorypmi.application.gateway.NQuery@3d2f7157@0ms  
On: estadisticasCanales.Root Container.tblEsadisticasCaneles.data  
at com.inductiveautomation.factorypmi.application.gateway.QueryManager$QueryExecutor.run(QueryManager.java:311)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Java heap space  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:351)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:325)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:278)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.invoke(GatewayInterface.java:945)  
at com.inductiveautomation.ignition.designer.db.namedquery.DesignerNamedQueryManager.execute(DesignerNamedQueryManager.java:73)  
at com.inductiveautomation.ignition.designer.db.namedquery.DesignerNamedQueryManager.execute(DesignerNamedQueryManager.java:46)  
at com.inductiveautomation.factorypmi.application.gateway.NQuery.execute(NQuery.java:70)  
at com.inductiveautomation.factorypmi.application.gateway.QueryManager$Query.execute(QueryManager.java:668)  
at com.inductiveautomation.factorypmi.application.gateway.QueryManager$QueryExecutor.run(QueryManager.java:308)  
… 1 more  
Caused by: java.lang.OutOfMemoryError: Java heap space  
at com.inductiveautomation.ignition.client.gateway\_interface.ResponseParser.startElement(ResponseParser.java:361)  
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)  
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:485)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:283)  
… 8 more

Ignition v8.1.11 (b2021101912)  
Java: Azul Systems, Inc. 11.0.11

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [June 6, 2022, 5:09pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/2 "2022-06-06T17:09:58Z")

</div>

> [@Esmeralda\_Lopez](#):
>
> Caused by: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Java heap space  
> at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:351)

Think this is the major issue here

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [June 6, 2022, 5:35pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/3 "2022-06-06T17:35:51Z")

</div>

We edit the ignition.conf and we set the maxime memory as the manual says, but do not do the change in the gateway

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [June 6, 2022, 5:37pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/4 "2022-06-06T17:37:06Z")

</div>

Did you turn the gateway service off and on again? You must do this for ignition.conf changes to take effect.

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [June 6, 2022, 5:38pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/5 "2022-06-06T17:38:22Z")

</div>

yes, I did it and the ignition.conf still has the change but I can not see it in the gateway.  
Stil has 2 gb in the maxime but I update it to 4 gb and still says 2 gb

---

<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 6, 2022, 5:54pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/6 "2022-06-06T17:54:59Z")

</div>

That generally means you have multiple ignition.conf files (leftovers from prior installs, perhaps) and you edited the wrong one.

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [June 6, 2022, 6:00pm UTC](https://forum.inductiveautomation.com/t/solved-issue-with-ignition-conection/60414/7 "2022-06-06T18:00:10Z")

</div>

Oh yes, thank you, I edit the wrong one
