<?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 Out of memery using web sevices in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memery-using-web-sevices/m-p/211507#M164637</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;We have set up Alfresco-Enterprise 3.2 and are trying to import our data, but keep getting out of memory exceptions. The data is a large collection of tiff images and metadata, 10-60MB a piece, and it is being entered through the the web services (CML) via a script. The first few go OK, but at some point the exception is thrown and the importing stops. How many succeed depend on how much ram we have given Alfresco. We ran the box with 4GB ram (borrowed some from other virtual machines) with the following options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;export JAVA_OPTS='-Xms3570m -Xmx3570m -XX:MaxPermSize=256m -server'&lt;BR /&gt;export JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea why it is using so much ram or how it and could be configured to use it more efficiently?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Aug 2010 09:44:58 GMT</pubDate>
    <dc:creator>xian</dc:creator>
    <dc:date>2010-08-19T09:44:58Z</dc:date>
    <item>
      <title>Out of memery using web sevices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memery-using-web-sevices/m-p/211507#M164637</link>
      <description>HiWe have set up Alfresco-Enterprise 3.2 and are trying to import our data, but keep getting out of memory exceptions. The data is a large collection of tiff images and metadata, 10-60MB a piece, and it is being entered through the the web services (CML) via a script. The first few go OK, but at som</description>
      <pubDate>Thu, 19 Aug 2010 09:44:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memery-using-web-sevices/m-p/211507#M164637</guid>
      <dc:creator>xian</dc:creator>
      <dc:date>2010-08-19T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memery using web sevices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memery-using-web-sevices/m-p/211508#M164638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I meant to add: The exception from the log shows it is heap space:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.Arrays.copyOf(Arrays.java:2882)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.CharArrayWriter.write(CharArrayWriter.java:88)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.axis.message.SOAPHandler.characters(SOAPHandler.java:169)&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 09:55:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memery-using-web-sevices/m-p/211508#M164638</guid>
      <dc:creator>xian</dc:creator>
      <dc:date>2010-08-19T09:55:47Z</dc:date>
    </item>
  </channel>
</rss>

