<?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 org.apache.spark.SparkException: Job aborted due to stage failure: org.apache.spark.memory.SparkOutO in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure/m-p/123274#M46972</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I'm using a serverless cluster and encountering an issue where my code runs fine when executed cell-by-cell in a notebook, but fails with a memory error when executed as a job. Interestingly, the same job runs successfully in our dev environment using the same dataset.&lt;/P&gt;&lt;P&gt;Has anyone experienced a similar issue or have suggestions on how to resolve this? Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jun 2025 11:24:41 GMT</pubDate>
    <dc:creator>Parth2692</dc:creator>
    <dc:date>2025-06-30T11:24:41Z</dc:date>
    <item>
      <title>org.apache.spark.SparkException: Job aborted due to stage failure: org.apache.spark.memory.SparkOutO</title>
      <link>https://community.databricks.com/t5/data-engineering/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure/m-p/123274#M46972</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I'm using a serverless cluster and encountering an issue where my code runs fine when executed cell-by-cell in a notebook, but fails with a memory error when executed as a job. Interestingly, the same job runs successfully in our dev environment using the same dataset.&lt;/P&gt;&lt;P&gt;Has anyone experienced a similar issue or have suggestions on how to resolve this? Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 11:24:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure/m-p/123274#M46972</guid>
      <dc:creator>Parth2692</dc:creator>
      <dc:date>2025-06-30T11:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: org.apache.spark.SparkException: Job aborted due to stage failure: org.apache.spark.memory.Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure/m-p/123695#M47055</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/168824"&gt;@Parth2692&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;It’s possible that your dev and prod environments have different serverless configurations, which could explain the difference in behavior.&lt;/P&gt;
&lt;P&gt;You can try &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/compute/serverless/dependencies#high-memory" target="_blank"&gt;increasing the notebook memory&lt;/A&gt; by switching from Standard to High in the Environment side panel. However, note&amp;nbsp;that this doesn’t affect the Spark executor memory, which can’t be manually configured when using serverless compute.&lt;/P&gt;
&lt;P&gt;If the issue persists, optimize your Spark job to reduce memory usage by splitting large jobs into smaller tasks, avoiding unnecessary caching, or adjusting how the data is partitioned.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 14:01:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure/m-p/123695#M47055</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-07-02T14:01:11Z</dc:date>
    </item>
  </channel>
</rss>

