# Connection Failures and system too slow

**URL:** <https://forum.inductiveautomation.com/t/connection-failures-and-system-too-slow/64855>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [October 5, 2022, 4:51pm UTC](https://forum.inductiveautomation.com/t/connection-failures-and-system-too-slow/64855 "2022-10-05T16:51:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [October 5, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/connection-failures-and-system-too-slow/64855/8 "2022-10-05T17:41:01Z")

</div>

See this post:

> [@Migrating to Java G1GC garbage collection](https://forum.inductiveautomation.com/t/migrating-to-java-g1gc-garbage-collection/18638):
>
> Reading up on [G1GC in forum posts](http://forum.inductiveautomation.com/search?q=G1GC), I’ve gathered: Clients Add jvm-args="-XX:+UseG1GC" to the end of the target string in the native client launcher shortcuts to use G1GC under Java 7 (from [this post](http://forum.inductiveautomation.com/t/openjdk-and-linux/18553/6) by @pturmel). On the other hand, I’m thinking this is not required as long as clients are running on Java 8+. See next point. Consider limiting Java versions to 8+ in gateway settings as G1GC is the default in Java 8 per [this post](http://forum.inductiveautomation.com/t/gateway-java-question-7-7-2/10402/6) by @pturmell. Also note [G1GC is not fully supported prior to JDK7 r…](http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/G1GettingStarted/index.html)

Note that you must explicitly set G1GC in java 8. It didn't become the default until java 9.

---

_[View the full topic](https://forum.inductiveautomation.com/t/connection-failures-and-system-too-slow/64855)._
