<?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: Transform core out of memory after migrating from alfresco 4.2 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122076#M33463</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually we tried these parameters already and with 2048m for mem_limit the docker is crashing almost every minute.&lt;BR /&gt;But as you said this is probably due to the data migration and reindexation. I thought this was only needed for solr.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we inscreased the mem_limit, applied the parameters you shared along with a restart:always policy and we will let the server live for few days to see if it's stabilize at some point.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 09:25:53 GMT</pubDate>
    <dc:creator>fgz01</dc:creator>
    <dc:date>2023-07-13T09:25:53Z</dc:date>
    <item>
      <title>Transform core out of memory after migrating from alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122074#M33461</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are currently in the process of migrating our old 4.2.f alfresco instance to the more recent release in commutiny version.&lt;/P&gt;&lt;P&gt;We have been sucessful migrating to 5.2 then using this great tutorial (&lt;A href="https://www.youtube.com/watch?v=kHwq_f9PzYU" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.youtube.com/watch?v=kHwq_f9PzYU&lt;/A&gt;) we have been able to migrate to Alfresco 7.0 and are currently performing some tests as this version is really different from our previous one.&lt;/P&gt;&lt;P&gt;The problem we are encountering is that the transform-core-aio docker is always crashing with an out of memory reason (visible in /var/log/syslog) with the default configuration in less than a minute.&lt;/P&gt;&lt;P&gt;As our test server have 32Gb of RAM we removed the mem_limit on all dockers to see if it's a temporary issue due to the migration of a big amount of data from our previous server ( ~ 400 Gb).&lt;/P&gt;&lt;P&gt;The fact is that the transform docker is using several Gb, and eventually crash when it's reaching 18 GB RAM in use approximately.&lt;/P&gt;&lt;P&gt;We currently don't really understand why is this occuring, and are convinced that this is not normal as the default configuration (&lt;A href="https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.0/docker-compose.yml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.0/docker-compose.yml&lt;/A&gt;) uses a mem_limit of 2GB.&lt;/P&gt;&lt;P&gt;What is this docker actually used for ? Is this mandatory ?&lt;/P&gt;&lt;P&gt;It seems there is a memory leak somewhere, but sometimes the docker memory seems to be stable between 8 and 9 Gb of RAM.&lt;/P&gt;&lt;P&gt;We tried to modify a bit the docker configuration using this tip : &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/transform-service-unlimited-database-connections/td-p/314523" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/transform-service-unlimited-database-connections/td-p/314523&lt;/A&gt; but it seems to be in the same state.&lt;/P&gt;&lt;P&gt;The transform docker version we are using is 2.3.10 but we also tried using others version of the images (that we found here &lt;A href="https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.1/docker-compose.yml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.1/docker-compose.yml&lt;/A&gt; for example) from more recent alfresco versions but the issue is the same.&lt;/P&gt;&lt;P&gt;Can this be due to the amount of data we are migrating ?&lt;/P&gt;&lt;P&gt;Do you have any idea about a possible cause of the issue ?&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 13:48:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122074#M33461</guid>
      <dc:creator>fgz01</dc:creator>
      <dc:date>2023-07-12T13:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transform core out of memory after migrating from alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122075#M33462</link>
      <description>&lt;P&gt;When upgrading, all the content needs to be reindexed. That means that Transform Service (transform-core-aio component in Docker) is getting many parallel requests during this process. You need to control the load of this parallelism according to your system resources.&lt;/P&gt;
&lt;P&gt;Define the number of parallel threads by adding these environment variables to you Transform Service:&lt;/P&gt;
&lt;PRE&gt;-Dserver.tomcat.threads.max=12
-Dserver.tomcat.threads.min=4&lt;/PRE&gt;
&lt;P&gt;Sample configuration is available in &lt;A href="https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.4/docker-compose.yml#L129C1-L130C44" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/7.4/docker-compose.yml#L129C1-L130C44&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 06:27:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122075#M33462</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-07-13T06:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transform core out of memory after migrating from alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122076#M33463</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually we tried these parameters already and with 2048m for mem_limit the docker is crashing almost every minute.&lt;BR /&gt;But as you said this is probably due to the data migration and reindexation. I thought this was only needed for solr.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we inscreased the mem_limit, applied the parameters you shared along with a restart:always policy and we will let the server live for few days to see if it's stabilize at some point.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 09:25:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transform-core-out-of-memory-after-migrating-from-alfresco-4-2/m-p/122076#M33463</guid>
      <dc:creator>fgz01</dc:creator>
      <dc:date>2023-07-13T09:25:53Z</dc:date>
    </item>
  </channel>
</rss>

