<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Cant' start Axon.ivy Engine: JVM cannot allocate enough Memory</title><link>https://answers.axonivy.com/questions/3396/cant-start-axon-ivy-engine-jvm-cannot-allocate-enough-memory</link><description>&lt;pre&gt;&lt;code&gt;Error occurred during initialization of VM Could not reserve enough space for object heap Create registry entry 'SYSTEM\CurrentControlSet\Services\EventLog\Application\AxonIvyEngineConfig Launchers' for event log if it does not exists Error: Could not initialize java virtual machine (-4)
&lt;/code&gt;&lt;/pre&gt;</description><atom:link href="https://answers.axonivy.com/questions/3396/cant-start-axon-ivy-engine-jvm-cannot-allocate-enough-memory" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 17 Aug 2018 03:55:55 -0400</lastBuildDate><item><title>Answer by SupportIvyTeam</title><link>https://answers.axonivy.com/questions/3396/cant-start-axon-ivy-engine-jvm-cannot-allocate-enough-memory/3397</link><description>&lt;p&gt;&lt;strong&gt;Cause&lt;/strong&gt;
The JVM tries to allocate memory for the Java heap, but it does not succeed. The amount of memory the JVM tries to allocate is too large for the operating system. Consequently the JVM cannot be started.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;
On Windows use an &lt;a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc.toolreference.ilc"&gt;Ivy launch control file&lt;/a&gt; to set the maximum heap size to a lower value (smaller or equal to 1 GByte).&lt;/p&gt;
&lt;p&gt;On Linux modify the &lt;a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc.toolreference.unix"&gt;AxonIvyEngine.conf&lt;/a&gt; script to set the maximum heap size to a lower value. The maximum heap size can be configured with the Java option -Xmx.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SupportIvyTeam</dc:creator><pubDate>Fri, 17 Aug 2018 03:55:55 -0400</pubDate><guid>https://answers.axonivy.com/questions/3396/cant-start-axon-ivy-engine-jvm-cannot-allocate-enough-memory/3397</guid></item></channel></rss>