<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup</link><pubDate>Wed, 10 Feb 2021 04:00:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 2/10/2021 4:00:36 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h3 id="jboss"&gt;JBoss&lt;/h3&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename &lt;strong&gt;standalone.custom.(bat|sh).exampl&lt;/strong&gt;e to &lt;strong&gt;standalone.custom.(bat|sh)&lt;/strong&gt; before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the &lt;code&gt;USER_MEM_ARGS&lt;/code&gt; variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the &lt;strong&gt;standalone.conf&lt;/strong&gt; file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h3 id="jboss"&gt;Tomcat&lt;/h3&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings in&amp;nbsp;&lt;strong&gt;setenv.sh|bat&lt;/strong&gt;&amp;nbsp;file (located&amp;nbsp;in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory). Configure the heap related variables as follows:&lt;/p&gt;
&lt;pre&gt;set configuredMinHeap=2048m&lt;/pre&gt;
&lt;pre&gt;set configuredMaxHeap=4096m&lt;/pre&gt;
&lt;h3 id="weblogic"&gt;WebLogic&lt;/h3&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2021&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, weblogic, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup/revision/8</link><pubDate>Sun, 07 Feb 2021 22:40:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Parmida Borhani on 2/7/2021 10:40:46 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h3 id="jboss"&gt;JBoss&lt;/h3&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename &lt;strong&gt;standalone.custom.(bat|sh).exampl&lt;/strong&gt;e to &lt;strong&gt;standalone.custom.(bat|sh)&lt;/strong&gt; before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the &lt;code&gt;USER_MEM_ARGS&lt;/code&gt; variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the &lt;strong&gt;standalone.conf&lt;/strong&gt; file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h3 id="jboss"&gt;Tomcat&lt;/h3&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings in&amp;nbsp;&lt;strong&gt;setenv.sh|bat&lt;/strong&gt;&amp;nbsp;file (located&amp;nbsp;in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory). Configure the heap related variables as follows:&lt;/p&gt;
&lt;pre&gt;set configuredMinHeap=2048m&lt;/pre&gt;
&lt;pre&gt;set configuredMaxHeap=4096m&lt;/pre&gt;
&lt;h3 id="weblogic"&gt;WebLogic&lt;/h3&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;October 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, weblogic, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup/revision/7</link><pubDate>Mon, 15 Oct 2018 14:12:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Jordan Horwat on 10/15/2018 2:12:31 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h3 id="jboss"&gt;JBoss&lt;/h3&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename &lt;strong&gt;standalone.custom.(bat|sh).exampl&lt;/strong&gt;e to &lt;strong&gt;standalone.custom.(bat|sh)&lt;/strong&gt; before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the &lt;code&gt;USER_MEM_ARGS&lt;/code&gt; variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the &lt;strong&gt;standalone.conf&lt;/strong&gt; file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h3 id="jboss"&gt;Tomcat&lt;/h3&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings in&amp;nbsp;&lt;strong&gt;setenv.sh|bat&lt;/strong&gt;&amp;nbsp;file (located&amp;nbsp;in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory). Configure the heap related variables as follows:&lt;/p&gt;
&lt;pre&gt;set configuredMinHeap=2048m&lt;/pre&gt;
&lt;pre&gt;set configuredMaxHeap=4096m&lt;/pre&gt;
&lt;h3 id="weblogic"&gt;WebLogic&lt;/h3&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;October 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: weblogic, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup/revision/6</link><pubDate>Mon, 15 Oct 2018 14:11:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Jordan Horwat on 10/15/2018 2:11:53 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename &lt;strong&gt;standalone.custom.(bat|sh).exampl&lt;/strong&gt;e to &lt;strong&gt;standalone.custom.(bat|sh)&lt;/strong&gt; before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the &lt;code&gt;USER_MEM_ARGS&lt;/code&gt; variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the &lt;strong&gt;standalone.conf&lt;/strong&gt; file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h4 id="jboss"&gt;Tomcat&lt;/h4&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings in&amp;nbsp;&lt;strong&gt;setenv.sh|bat&lt;/strong&gt;&amp;nbsp;file (located&amp;nbsp;in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory). Configure the heap related variables as follows:&lt;/p&gt;
&lt;pre&gt;set configuredMinHeap=2048m&lt;/pre&gt;
&lt;pre&gt;set configuredMaxHeap=4096m&lt;/pre&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;October 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: weblogic, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup/revision/5</link><pubDate>Mon, 15 Oct 2018 14:10:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Jordan Horwat on 10/15/2018 2:10:26 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename standalone.custom.(bat|sh).example to standalone.custom.(bat|sh) before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the USER_MEM_ARGS variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the standalone.conf file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h4 id="jboss"&gt;Tomcat&lt;/h4&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings in&amp;nbsp;&lt;strong&gt;setenv.sh|bat&lt;/strong&gt;&amp;nbsp;file (located&amp;nbsp;in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/bin&lt;/code&gt; directory). Configure the heap related variables as follows:&lt;/p&gt;
&lt;pre&gt;set configuredMinHeap=2048m&lt;/pre&gt;
&lt;pre&gt;set configuredMaxHeap=4096m&lt;/pre&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: weblogic, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup/revision/4</link><pubDate>Mon, 30 Jul 2018 04:11:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Parmida Borhani on 7/30/2018 4:11:49 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename standalone.custom.(bat|sh).example to standalone.custom.(bat|sh) before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the USER_MEM_ARGS variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the standalone.conf file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: weblogic, application server, infrastructure, jboss&lt;/div&gt;
</description></item><item><title>KB-1025 "java.lang.OutOfMemoryError: Java heap Space" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup/revision/3</link><pubDate>Tue, 25 Jul 2017 10:35:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e68db26e-8d6f-4945-bf56-0d58b49d5f04</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/250/kb-1025-java-lang-outofmemoryerror-java-heap-space-error-thrown-during-application-server-startup#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Nick Vigilante on 7/25/2017 10:35:34 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Regardless of the application server used, when trying to deploy an application, the following error message is displayed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.lang.OutOfMemoryError: Java heap Space
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The application then fails to deploy.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The default initial and/or maximum heap sizes configured are too small.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;The required action varies based on the application server:&lt;/p&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;p&gt;The settings described below should be made to the following file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\standalone.custom.(bat|sh)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If this file does not already exist, rename standalone.custom.(bat|sh).example to standalone.custom.(bat|sh) before proceeding.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, you can override the default memory settings by setting the USER_MEM_ARGS variable as desired. Configure the variable as follows, changing the memory values to your desired minimum and maximum memory settings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;USER_MEM_ARGS=&amp;quot;-Xms2048m -Xmx4096m&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The heap dump setting is already configured in the standalone.conf file provided in the configure script. You do not need to set the property again unless you want to change the default memory settings, which match the examples given here.&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;p&gt;Once you&amp;#39;ve identified the appropriate memory settings, set the JVM arguments for server start by completing the following in the WebLogic Administrative Console:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Environment &amp;gt; Servers&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;AdminServer&lt;/strong&gt; link.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Configuration&lt;/strong&gt; tab, select the &lt;strong&gt;Server Start&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Arguments&lt;/strong&gt; input box, enter the following, changing the below values to desired ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Xms2048m -Xmx4096m&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: weblogic, application server, jboss&lt;/div&gt;
</description></item></channel></rss>