---
title: "Discussion on \"Heap Memory\" | Hashnode"
description: "Discussion on \"Heap Memory\". Explore on-heap vs off-heap memory in Spark, understand their management, and learn when to use off-heap for better performance"
url: "https://hashnode.com/posts/heap-memory/68ebe4aca73bf038f47ea0b1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Heap Memory](https://bytesofdeepankar.hashnode.dev/heap-memory?utm_source=hashnode&utm_medium=feed)

Explore on-heap vs off-heap memory in Spark, understand their management, and learn when to use off-heap for better performance

Oct 12, 2025 · 3 min read · bytesofdeepankar.hashnode.dev  
Read the article

-   [#sparkmemorymanagement](https://hashnode.com/tag/sparkmemorymanagement)
-   [#apache-spark](https://hashnode.com/tag/apache-spark)
-   [#big-data](https://hashnode.com/tag/big-data)
-   [#data-engineering](https://hashnode.com/tag/data-engineering)
-   [#heap-memory](https://hashnode.com/tag/heap-memory)
-   [#performance-tuning](https://hashnode.com/tag/performance-tuning)

## Written by

[Deepankar Yadav](https://hashnode.com/@BytesOfDeepankar)

@BytesOfDeepankar · India

  
[View profile](https://hashnode.com/@BytesOfDeepankar)

Making data sexy, one query at a time: Data's ultimate wingman.

I wrangle bytes at EY, making healthcare data sing. By night, I spill the beans (and code) on #dataengineering on Hashnode. Join me to conquer coding &amp; laugh along the way! 🚀

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
