<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Could not reserve enough space for object heap - Alfresco build from source in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312238#M265368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you're correct. I am trying to analyse, the exact error is occurring while compiling the Java files, I even added attributes to javac tag to increase heap size. But it's not working. So I thought to post here maybe someone is facing same issue as me &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 10:24:25 GMT</pubDate>
    <dc:creator>pradeepsimha</dc:creator>
    <dc:date>2014-03-25T10:24:25Z</dc:date>
    <item>
      <title>Could not reserve enough space for object heap - Alfresco build from source</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312234#M265364</link>
      <description>I am trying to build Alfresco from source and I am following the instructions from https://wiki.alfresco.com/wiki/Alfresco_SVN_Development_Environment link.But whenever I try to execute below command:ant build-tomcat‍I get the following error:[mkdir] Created dir: E:\Pradeep\Alfresco\Alfresco Source\</description>
      <pubDate>Tue, 25 Mar 2014 09:29:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312234#M265364</guid>
      <dc:creator>pradeepsimha</dc:creator>
      <dc:date>2014-03-25T09:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Could not reserve enough space for object heap - Alfresco build from source</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312235#M265365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;usually change tomcat/bin/catalina.sh file setting JVM parameteres upon your needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example I added export JAVA_OPTS='-server -Xmx8g -Xms8g -Xss256k -XX:MaxPermSize=512m -XX:NewSize=4g -Dfile.encoding=UTF-8' where&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-XX:NewSize=2m&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Default size of new generation (in bytes) [5.0 and newer: 64 bit VMs are scaled 30% larger; x86: 1m; x86, 5.0 and older: 640k]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-XX:MaxPermSize=64m Size of the Permanent Generation. [5.0 and newer: 64 bit VMs are scaled 30% larger; 1.4 amd64: 96m; 1.3.1 -client: 32m.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Xmx &amp;lt;size&amp;gt;[g|G|m|M|k|K] This option sets the maximum Java heap size. The Java heap (the “heap”) is the part of the memory where blocks of memory are allocated to objects and freed during garbage collection. Depending upon the kind of operating system you are running, the maximum value you can set for the Java heap can vary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Xms&amp;lt;size&amp;gt;[g|G|m|M|k|K] The -Xms option sets the initial and minimum Java heap size. The Java heap (the “heap”) is the part of the memory where blocks of memory are allocated to objects and freed during garbage collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Xss&amp;lt;size&amp;gt;[g|G|m|M|k|K] -Xss sets the thread stack size. Thread stacks are memory areas allocated for each Java thread for their internal use. This is where the thread stores its local execution state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 09:58:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312235#M265365</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2014-03-25T09:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Could not reserve enough space for object heap - Alfresco build from source</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312236#M265366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reply, But still I am building the source right? Does it have affect on Tomcat now? And I am using Windows 7.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 10:10:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312236#M265366</guid>
      <dc:creator>pradeepsimha</dc:creator>
      <dc:date>2014-03-25T10:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Could not reserve enough space for object heap - Alfresco build from source</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312237#M265367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you're right, but the meaning of the post is to explain the various parameter you can use with Javz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The fact you're compiling or running an application doesn't matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to figure out where is the exact point you're going out of perm gen memory and focus on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 10:16:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312237#M265367</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2014-03-25T10:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Could not reserve enough space for object heap - Alfresco build from source</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312238#M265368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you're correct. I am trying to analyse, the exact error is occurring while compiling the Java files, I even added attributes to javac tag to increase heap size. But it's not working. So I thought to post here maybe someone is facing same issue as me &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 10:24:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312238#M265368</guid>
      <dc:creator>pradeepsimha</dc:creator>
      <dc:date>2014-03-25T10:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Could not reserve enough space for object heap - Alfresco build from source</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312239#M265369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Pradeep,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using windows7 then add the following line in startup.bat and catalina.bat file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;set JAVA_OPTS=-Xms1024m -Xmx1024m -XX&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ermSize=256m&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and also set java_opts and catalina_opts in environment variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nancy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 06:41:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-reserve-enough-space-for-object-heap-alfresco-build/m-p/312239#M265369</guid>
      <dc:creator>nancyaggarwal</dc:creator>
      <dc:date>2014-05-07T06:41:56Z</dc:date>
    </item>
  </channel>
</rss>

