<?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 Does Alfresco just ignore Xmx? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-just-ignore-xmx/m-p/147677#M39079</link>
    <description>&lt;P&gt;In our front-end the user can set Xms and Xmx for all of the transform, ActiveMQ, Solr, and Alfresco services. They're all well-behaved, apart from Alfresco. If you set both values to 512M, for example, Alfresco will hold at about 500M for a minute or so, and then run up a Gigabyte of PSS memory. This is real memory which Linux can't claim back: it's not listed as 'available' (memavailable in /proc/meminfo) until Alfresco is stopped.&lt;/P&gt;&lt;P&gt;Alfresco does this even if it's doing nothing at all; it basically runs at 1.0-1.1 GB all the time.&lt;/P&gt;&lt;P&gt;So what's going on? I ran up an instance a few minutes ago, and 'ps' is correctly showing that I requested "-Xms500M -Xmx600M". The log includes this line:&lt;/P&gt;&lt;PRE&gt;2024-05-10 15:53:28,057 INFO  [org.alfresco.service.descriptor.DescriptorService] [main] Alfresco JVM - v17.0.9+9; maximum heap size 533.500MB&lt;/PRE&gt;&lt;P&gt;but the PSS shown for this JVM process is 1.1GB. It feels very much like Alfresco is requesting hundreds of extra MBs to subvert the heap limit requests.&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 16:08:35 GMT</pubDate>
    <dc:creator>atTheBeach</dc:creator>
    <dc:date>2024-05-10T16:08:35Z</dc:date>
    <item>
      <title>Does Alfresco just ignore Xmx?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-just-ignore-xmx/m-p/147677#M39079</link>
      <description>&lt;P&gt;In our front-end the user can set Xms and Xmx for all of the transform, ActiveMQ, Solr, and Alfresco services. They're all well-behaved, apart from Alfresco. If you set both values to 512M, for example, Alfresco will hold at about 500M for a minute or so, and then run up a Gigabyte of PSS memory. This is real memory which Linux can't claim back: it's not listed as 'available' (memavailable in /proc/meminfo) until Alfresco is stopped.&lt;/P&gt;&lt;P&gt;Alfresco does this even if it's doing nothing at all; it basically runs at 1.0-1.1 GB all the time.&lt;/P&gt;&lt;P&gt;So what's going on? I ran up an instance a few minutes ago, and 'ps' is correctly showing that I requested "-Xms500M -Xmx600M". The log includes this line:&lt;/P&gt;&lt;PRE&gt;2024-05-10 15:53:28,057 INFO  [org.alfresco.service.descriptor.DescriptorService] [main] Alfresco JVM - v17.0.9+9; maximum heap size 533.500MB&lt;/PRE&gt;&lt;P&gt;but the PSS shown for this JVM process is 1.1GB. It feels very much like Alfresco is requesting hundreds of extra MBs to subvert the heap limit requests.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 16:08:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-just-ignore-xmx/m-p/147677#M39079</guid>
      <dc:creator>atTheBeach</dc:creator>
      <dc:date>2024-05-10T16:08:35Z</dc:date>
    </item>
  </channel>
</rss>

