<?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 Soffice use a lot of memory in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281000#M234130</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;BR /&gt;&lt;SPAN&gt;One user has added a new document and the server get problems &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;soffice.bin uses a lot of memory and after that the server is swapping… &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The server has 8GB and after the import of the document, soffice.bin uses 4 GB (soffice do the preview).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;soffice.bin keeps these 4 GB after the preview of the document. The preview is well done. (I can see it using "ps -aux"). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tested libreoffice 3.6 and 4.0… the problem is still the same.&amp;nbsp; (I can't use openOffice because I get bugs with others .doc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The .doc is 3 mb. It has some pictures inside.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has someone an idea to help me ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using jodconverter and option (jodconverter.maxTasksPerProcess=2) should help me but I am using Alfresco commmunity (and jodconverter is only for enterprise).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linux 5.6 64bits, Alfresco 4.0D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 14:31:51 GMT</pubDate>
    <dc:creator>dranakan</dc:creator>
    <dc:date>2013-05-21T14:31:51Z</dc:date>
    <item>
      <title>Soffice use a lot of memory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281000#M234130</link>
      <description>Hi,One user has added a new document and the server get problems :-(soffice.bin uses a lot of memory and after that the server is swapping… The server has 8GB and after the import of the document, soffice.bin uses 4 GB (soffice do the preview).soffice.bin keeps these 4 GB after the preview of the do</description>
      <pubDate>Tue, 21 May 2013 14:31:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281000#M234130</guid>
      <dc:creator>dranakan</dc:creator>
      <dc:date>2013-05-21T14:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Soffice use a lot of memory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281001#M234131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Large memory usage of openoffice can often be related to memory leaks in open office.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you say, going enterprise would be one way of doing it. The other would be to manually control the OpenOffice process. You could have a script which kills the process every now and then starts it up again. I've done this in a case where we run OpenOffice at a separate server and Alfresco has no way of starting or stopping the process itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Change the configuration which polls for OpenOffice to run every 5 seconds. (This is controlled via the global properties setting: openOffice.test.cronExpression=*/5 * * * * * ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kill open office&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sleep 6 seconds (to make sure the tester picks up that openoffice is down&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start open offfice&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 09:49:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281001#M234131</guid>
      <dc:creator>marcus_svensson</dc:creator>
      <dc:date>2013-05-23T09:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Soffice use a lot of memory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281002#M234132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Marcus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are trying to add jodconverter in Alfresco Community. At this time, we don't know if it's possibe…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your proposition is a good idea. How do you check than soffice is not running before killing ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using soffice on another server is better. But can you do it with Alfresco community ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 10:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281002#M234132</guid>
      <dc:creator>dranakan</dc:creator>
      <dc:date>2013-05-23T10:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Soffice use a lot of memory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281003#M234133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A sample script for controlling Open Office on a server can be found here: &lt;/SPAN&gt;&lt;A href="https://code.google.com/p/alingsas-kommun-alfresco/source/browse/alfresco-start-scripts/ooffice" rel="nofollow noopener noreferrer"&gt;https://code.google.com/p/alingsas-kommun-alfresco/source/browse/alfresco-start-scripts/ooffice&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That script will check if the process is running before killing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you can run open office on a different server using the community version of alfresco. The configuration can be found on the alfresco wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Running_OpenOffice_From_Remote_Machine#From_3.4.11_and_4.1.1" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Running_OpenOffice_From_Remote_Machine#From_3.4.11_and_4.1.1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 15:04:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281003#M234133</guid>
      <dc:creator>marcus_svensson</dc:creator>
      <dc:date>2013-05-23T15:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Soffice use a lot of memory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281004#M234134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Marcus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The pkill command kill the process without waiting if a process is running. (test with libreoffice 3.6). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There no option (ooo.host=… ) with Alfresco 4.0.D with it exists with 4.2.c. We will use another server to run soffice… it's safer. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see that soffice run with the same priority than alfresco. I think it's perhaps better to set low priority : "nice -n 9 …". &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:33:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-use-a-lot-of-memory/m-p/281004#M234134</guid>
      <dc:creator>dranakan</dc:creator>
      <dc:date>2013-06-05T13:33:02Z</dc:date>
    </item>
  </channel>
</rss>

