AnsweredAssumed Answered

Out of memery using web sevices

Question asked by xian on Aug 19, 2010
Latest reply on Aug 19, 2010 by xian
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:

export JAVA_OPTS='-Xms3570m -Xmx3570m -XX:MaxPermSize=256m -server'
export JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME}"

Any idea why it is using so much ram or how it and could be configured to use it more efficiently?

Thanks in advance.