# Ignition Gateway service not starting

**URL:** <https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710>\
**Category:** Ignition\
**Created:** [June 27, 2012, 2:10pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710 "2012-06-27T14:10:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@doug](https://forum.inductiveautomation.com/u/doug)\
**Post date:** [June 27, 2012, 2:10pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/1 "2012-06-27T14:10:16Z")

</div>

I have installed ignition, for the first time, and I cannot get the gateway control utility to start the service. I am running XP, ignition 7.5 32-bit and java 6.32. If I start the service manually the wrapper.log file reads:

STATUS | wrapper | 2012/06/27 08:34:58 | --\> Wrapper Started as Service  
STATUS | wrapper | 2012/06/27 08:34:58 | Java Service Wrapper Standard Edition 32-bit 3.5.14  
STATUS | wrapper | 2012/06/27 08:34:58 | Copyright © 1999-2011 Tanuki Software, Ltd. All Rights Reserved.  
STATUS | wrapper | 2012/06/27 08:34:58 | [wrapper.tanukisoftware.com](http://wrapper.tanukisoftware.com)  
STATUS | wrapper | 2012/06/27 08:34:58 | Licensed to Inductive Automation for Ignition Gateway  
STATUS | wrapper | 2012/06/27 08:34:58 |  
STATUS | wrapper | 2012/06/27 08:34:58 | Launching a JVM…  
INFO | jvm 1 | 2012/06/27 08:34:58 | Error occurred during initialization of VM  
INFO | jvm 1 | 2012/06/27 08:34:58 | Could not reserve enough space for object heap  
INFO | jvm 1 | 2012/06/27 08:34:58 | Could not create the Java virtual machine.  
INFO | jvm 1 | 2012/06/27 08:34:58 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future  
ERROR | wrapper | 2012/06/27 08:34:58 | JVM exited while loading the application.  
STATUS | wrapper | 2012/06/27 08:35:03 | Launching a JVM…  
INFO | jvm 2 | 2012/06/27 08:35:03 | Error occurred during initialization of VM  
INFO | jvm 2 | 2012/06/27 08:35:03 | Could not reserve enough space for object heap  
INFO | jvm 2 | 2012/06/27 08:35:03 | Could not create the Java virtual machine.  
INFO | jvm 2 | 2012/06/27 08:35:03 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future  
ERROR | wrapper | 2012/06/27 08:35:03 | JVM exited while loading the application.  
STATUS | wrapper | 2012/06/27 08:35:08 | Launching a JVM…  
INFO | jvm 3 | 2012/06/27 08:35:08 | Error occurred during initialization of VM  
INFO | jvm 3 | 2012/06/27 08:35:08 | Could not reserve enough space for object heap  
INFO | jvm 3 | 2012/06/27 08:35:08 | Could not create the Java virtual machine.  
INFO | jvm 3 | 2012/06/27 08:35:08 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future  
ERROR | wrapper | 2012/06/27 08:35:08 | JVM exited while loading the application.  
STATUS | wrapper | 2012/06/27 08:35:13 | Launching a JVM…  
INFO | jvm 4 | 2012/06/27 08:35:13 | Error occurred during initialization of VM  
INFO | jvm 4 | 2012/06/27 08:35:13 | Could not reserve enough space for object heap  
INFO | jvm 4 | 2012/06/27 08:35:13 | Could not create the Java virtual machine.  
INFO | jvm 4 | 2012/06/27 08:35:13 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future  
ERROR | wrapper | 2012/06/27 08:35:13 | JVM exited while loading the application.  
STATUS | wrapper | 2012/06/27 08:35:18 | Launching a JVM…  
INFO | jvm 5 | 2012/06/27 08:35:18 | Error occurred during initialization of VM  
INFO | jvm 5 | 2012/06/27 08:35:18 | Could not reserve enough space for object heap  
INFO | jvm 5 | 2012/06/27 08:35:18 | Could not create the Java virtual machine.  
INFO | jvm 5 | 2012/06/27 08:35:18 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future  
ERROR | wrapper | 2012/06/27 08:35:18 | JVM exited while loading the application.  
FATAL | wrapper | 2012/06/27 08:35:18 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.  
FATAL | wrapper | 2012/06/27 08:35:18 | There may be a configuration problem: please check the logs.  
STATUS | wrapper | 2012/06/27 08:35:18 | \<-- Wrapper Stopped

---

<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:** [June 27, 2012, 2:31pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/2 "2012-06-27T14:31:27Z")

</div>

If you look in the installation directory you should find an ignition.conf file. There are two lines:

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=1024

Do yours say 256 and 1024? How much RAM does the computer you’re running this on have?

---

<div class="post-metadata">

**Author:** ![doug](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@doug](https://forum.inductiveautomation.com/u/doug)\
**Post date:** [June 27, 2012, 3:15pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/3 "2012-06-27T15:15:44Z")

</div>

The .conf file reads:

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=1024

I have 3 GB of RAM.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [June 27, 2012, 3:19pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/4 "2012-06-27T15:19:12Z")

</div>

Of those 3 gigs of ram, how much is your computer using before you try to start Ignition?

Try going to the command prompt and enter  
net start ignition

---

<div class="post-metadata">

**Author:** ![doug](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@doug](https://forum.inductiveautomation.com/u/doug)\
**Post date:** [June 27, 2012, 3:39pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/5 "2012-06-27T15:39:36Z")

</div>

I am using 1.31 GB before I run ignition. When I ran the command prompt the same error shows up in the wrapper.log file, and the service fails to start.

---

<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:** [June 27, 2012, 3:43pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/6 "2012-06-27T15:43:56Z")

</div>

If you change the maxmemory line to 512 will Ignition start?

---

<div class="post-metadata">

**Author:** ![doug](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@doug](https://forum.inductiveautomation.com/u/doug)\
**Post date:** [June 27, 2012, 3:57pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/7 "2012-06-27T15:57:32Z")

</div>

Changed maxmemory to 512 then ran the gateway control utility, and the service did not start. I then tried the command prompt “net start ignition”, and the service started no problems. After I had the service started I started back up the gateway control utility, and everything looks good.

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:** [June 27, 2012, 4:07pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-service-not-starting/4710/8 "2012-06-27T16:07:59Z")

</div>

Well… glad it’s working, but not sure why it wouldn’t run with 1GB. This may present problems as you develop your project and it grows in size. There’s something “wrong” with the computer/environment you’re running.

Should be OK for development/exploring, but don’t go deploying to production on this computer.
