<?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 High memory usage on Databricks cluster in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/high-memory-usage-on-databricks-cluster/m-p/106417#M2803</link>
    <description>&lt;P&gt;In my team we have a very high memory usage even when the cluster has just been started and nothing has been run yet. Additionally, memory usage never drops to lower levels - total used memory always fluctuates around 14GB.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Where is this memory usage coming from? Is it possible to see more detailed information about what processes exactly are consuming our memory?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;We are trying to figure out the most optimal way of allocating memory to our executors. Assuming that we have 14GB Memory available on each worker node and there is one executor per worker node - what should be the total memory available on executor? Currently our spark.executor.memory is set to 7GB, but we are wondering if we could increase it a bit, but we are not sure how much memory should be left for Databricks processes (looking at the chart a lot..)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate your help!&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 09:06:58 GMT</pubDate>
    <dc:creator>dbuserng</dc:creator>
    <dc:date>2025-01-21T09:06:58Z</dc:date>
    <item>
      <title>High memory usage on Databricks cluster</title>
      <link>https://community.databricks.com/t5/administration-architecture/high-memory-usage-on-databricks-cluster/m-p/106417#M2803</link>
      <description>&lt;P&gt;In my team we have a very high memory usage even when the cluster has just been started and nothing has been run yet. Additionally, memory usage never drops to lower levels - total used memory always fluctuates around 14GB.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Where is this memory usage coming from? Is it possible to see more detailed information about what processes exactly are consuming our memory?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;We are trying to figure out the most optimal way of allocating memory to our executors. Assuming that we have 14GB Memory available on each worker node and there is one executor per worker node - what should be the total memory available on executor? Currently our spark.executor.memory is set to 7GB, but we are wondering if we could increase it a bit, but we are not sure how much memory should be left for Databricks processes (looking at the chart a lot..)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate your help!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 09:06:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/high-memory-usage-on-databricks-cluster/m-p/106417#M2803</guid>
      <dc:creator>dbuserng</dc:creator>
      <dc:date>2025-01-21T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: High memory usage on Databricks cluster</title>
      <link>https://community.databricks.com/t5/administration-architecture/high-memory-usage-on-databricks-cluster/m-p/106426#M2804</link>
      <description>&lt;P&gt;This is not necessarily an issue.&amp;nbsp; Linux uses a lot of RAM for caching but this does not mean it cannot be released for processes (dynamic memory mgmt).&lt;BR /&gt;Basically the philosophy is that RAM that is not used (so actually 'free') is useless.&lt;BR /&gt;Here is a &lt;A href="https://www.reddit.com/r/linux4noobs/comments/t03o0f/is_unused_ram_wasted_ram/" target="_self"&gt;reddit topic&lt;/A&gt; about linux and RAM.&amp;nbsp; Might explain a little.&lt;/P&gt;&lt;P&gt;So try to run your spark app on the cluster as is.&amp;nbsp; If you actually run into memory issues you will see a lot of spill to disk or OOM errors.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 09:27:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/high-memory-usage-on-databricks-cluster/m-p/106426#M2804</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2025-01-21T09:27:28Z</dc:date>
    </item>
  </channel>
</rss>

