<?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: Performance of Transform ant Thumbnails Alfresco Community 7.2 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141038#M37628</link>
    <description>&lt;P&gt;Hi Marco:&lt;/P&gt;&lt;P&gt;To find the json file inside alfresco.war, you may find a jar in WEB-INF/lib/alfresco-repository-14.145.jar&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside this jar, you can find the json file under alfresco/transforms/&lt;/P&gt;&lt;P&gt;Then, you may have several options for deployment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One is to create a modified version of the file under /usr/local/tomcat/shared/alfresco/extension/pipelines and restart the docker image of the repo.&lt;/LI&gt;&lt;LI&gt;Other possibility is to define a volume to manage configuration under some folder of shared/alfresco, in this case you can do it with pipelines directory, but you may use it for other config files. This may be not an orthodox practice, but it is useful when using docker compose installations.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Other point is that your AIO process &lt;STRONG&gt;is having an OOM error&lt;/STRONG&gt;, so probably, you need first to increase heap memory settings for this image. Normally in the docker compose:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;java.lang.OutOfMemoryError: Java heap space&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/AlfrescoArchive/acs-community-deployment/blob/master/docker-compose/docker-compose.yml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/AlfrescoArchive/acs-community-deployment/blob/master/docker-compose/docker-compose.yml&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN class=""&gt;transform-core-aio&lt;/SPAN&gt;:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN class=""&gt;image&lt;/SPAN&gt;: &lt;SPAN class=""&gt;alfresco/alfresco-transform-core-aio:2.3.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;mem_limit&lt;/SPAN&gt;: &lt;SPAN class=""&gt;1536m&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN class=""&gt;environment&lt;/SPAN&gt;:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;JAVA_OPTS&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt; -Xms256m -Xmx1536m&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN class=""&gt;ports&lt;/SPAN&gt;:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;- &lt;SPAN class=""&gt;8090:8090&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 16:03:00 GMT</pubDate>
    <dc:creator>cesarista</dc:creator>
    <dc:date>2022-10-11T16:03:00Z</dc:date>
    <item>
      <title>Performance of Transform ant Thumbnails Alfresco Community 7.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141035#M37625</link>
      <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;I'm using Alfresco 7.2 Community on an on-premise server with the following architecture:&lt;BR /&gt;- CPU (6 cores)&lt;BR /&gt;model name: Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz&lt;BR /&gt;- Memory:&lt;BR /&gt;40 GiB on the host&lt;BR /&gt;alfresco container: 10GiB&lt;BR /&gt;solr6 container: 16GiB&lt;BR /&gt;container transform: 16GiB&lt;BR /&gt;- ONLY:&lt;BR /&gt;LSB Version: :core-4.1-amd64:core-4.1-noarch&lt;BR /&gt;Description: CentOS Stream release 8&lt;/P&gt;&lt;P&gt;We have a volume with approximately 6 Tb of .bin files.&lt;/P&gt;&lt;P&gt;We have an installation using docker-compose.yml by default, only the memory data of the containers changed (as above).&lt;/P&gt;&lt;P&gt;When we do a massive load of documents, we saw that the transform-core-aio Container (micro-service) stops working. The others remain in the air, but it starts a very large slowdown in accesses and indexing.&lt;/P&gt;&lt;P&gt;The error that is generated in the log is:&lt;BR /&gt;transform-core-aio_1 | 2022-09-02 19:46:10.751 ERROR 1 --- [o-8090-exec-984] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause&lt;BR /&gt;transform-core-aio_1 |&lt;BR /&gt;transform-core-aio_1 | java.lang.OutOfMemoryError: Java heap space&lt;/P&gt;&lt;P&gt;There is access through Share and external application. We are also making the default Workspace available for use.&lt;/P&gt;&lt;P&gt;We are also wanting to avoid the html to pdf transform. We've already added the following lines to alfresco-global.properties:&lt;BR /&gt;content.transformer.OpenOffice.extensions.html.pdf.supported=false&lt;BR /&gt;content.transformer.OpenOffice.extensions.html.pdf.maxSourceSizeKBytes=0&lt;BR /&gt;content.transformer.OpenOffice.extensions.html.txt.supported=false&lt;BR /&gt;content.transformer.OpenOffice.extensions.html.txt.maxSourceSizeKBytes=0&lt;BR /&gt;system.thumbnail.mimetype.maxSourceSizeKBytes.html=0&lt;/P&gt;&lt;P&gt;Has anyone encountered this scenario? We would like some help to improve the performance of this scenario.&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 17:46:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141035#M37625</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-09-16T17:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Performance of Transform ant Thumbnails Alfresco Community 7.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141036#M37626</link>
      <description>&lt;P&gt;The old porperties on&amp;nbsp; "alfresco-global.properties" are no longer valid.&lt;/P&gt;&lt;P&gt;You must override the file "&lt;EM&gt;0100-basePipelines.json&lt;/EM&gt;" like explained here &lt;A href="https://github.com/Alfresco/acs-packaging/blob/release/6.2.N/docs/custom-transforms-and-renditions.md#configure-a-custom-transform-pipeline" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-packaging/blob/release/6.2.N/docs/custom-transforms-and-renditions.md#configure-a-custom-transform-pipeline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and remove these two pipelines form the file "alfresco-community-repo-720\repository\src\main\resources\alfresco\transforms\0100-basePipelines.json":&lt;/P&gt;&lt;PRE&gt;    {
      "transformerName": "htmlToPdfViaTXT",
      "transformerPipeline" : [
        {"transformerName": "string", "targetMediaType": "text/plain"},
        {"transformerName": "libreoffice"}
      ],
      "supportedSourceAndTargetList": [
        {"sourceMediaType": "text/html",                             "targetMediaType": "application/pdf" }
      ],
      "transformOptions": [
      ]
    },
    {
      "transformerName": "htmlToImageViaTXT",
      "transformerPipeline" : [
        {"transformerName": "string", "targetMediaType": "text/plain"},
        {"transformerName": "textToImageViaPdf"}
      ],
      "supportedSourceAndTargetList": [
        {"sourceMediaType": "text/html",                             "targetMediaType": "image/png" }
      ],
      "transformOptions": [
        "pdfRendererOptions",
        "imageMagickOptions"
      ]
    }&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2022 15:56:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141036#M37626</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2022-09-22T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance of Transform ant Thumbnails Alfresco Community 7.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141037#M37627</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;but how do I apply these removals in docker environment.&lt;/P&gt;&lt;P&gt;I currently use a dockcer-compose.yml based installation.&lt;/P&gt;&lt;P&gt;Marco Gianini&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 15:26:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141037#M37627</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-10-11T15:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance of Transform ant Thumbnails Alfresco Community 7.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141038#M37628</link>
      <description>&lt;P&gt;Hi Marco:&lt;/P&gt;&lt;P&gt;To find the json file inside alfresco.war, you may find a jar in WEB-INF/lib/alfresco-repository-14.145.jar&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside this jar, you can find the json file under alfresco/transforms/&lt;/P&gt;&lt;P&gt;Then, you may have several options for deployment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One is to create a modified version of the file under /usr/local/tomcat/shared/alfresco/extension/pipelines and restart the docker image of the repo.&lt;/LI&gt;&lt;LI&gt;Other possibility is to define a volume to manage configuration under some folder of shared/alfresco, in this case you can do it with pipelines directory, but you may use it for other config files. This may be not an orthodox practice, but it is useful when using docker compose installations.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Other point is that your AIO process &lt;STRONG&gt;is having an OOM error&lt;/STRONG&gt;, so probably, you need first to increase heap memory settings for this image. Normally in the docker compose:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;java.lang.OutOfMemoryError: Java heap space&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/AlfrescoArchive/acs-community-deployment/blob/master/docker-compose/docker-compose.yml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/AlfrescoArchive/acs-community-deployment/blob/master/docker-compose/docker-compose.yml&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN class=""&gt;transform-core-aio&lt;/SPAN&gt;:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN class=""&gt;image&lt;/SPAN&gt;: &lt;SPAN class=""&gt;alfresco/alfresco-transform-core-aio:2.3.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;mem_limit&lt;/SPAN&gt;: &lt;SPAN class=""&gt;1536m&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN class=""&gt;environment&lt;/SPAN&gt;:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;JAVA_OPTS&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt; -Xms256m -Xmx1536m&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN class=""&gt;ports&lt;/SPAN&gt;:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;- &lt;SPAN class=""&gt;8090:8090&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 16:03:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/performance-of-transform-ant-thumbnails-alfresco-community-7-2/m-p/141038#M37628</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2022-10-11T16:03:00Z</dc:date>
    </item>
  </channel>
</rss>

