---
title: "Discussion on \"Java Heaps Explained: What You Need to Know\" | Hashnode"
description: "Discussion on \"Java Heaps Explained: What You Need to Know\". Table of Contents\n\nIntroduction to Memory in Java\n\nDefinition of Heap\n\nWhat Does the Heap Store?\n\nWhat Does the Stack Store?\n\nInitial and Maximum Heap Size Parameters\n\nRelation Between Heap Size and Garbage Collection\n\nPerformance optimizing\n\nReferen..."
url: "https://hashnode.com/posts/java-heaps-explained-what-you-need-to-know/669fa751cbaa121782e04f29"
---

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

Discussion

# [Java Heaps Explained: What You Need to Know](https://esawy.hashnode.dev/java-heaps-explained-what-you-need-to-know?utm_source=hashnode&utm_medium=feed)

Table of Contents Introduction to Memory in Java Definition of Heap What Does the Heap Store? What Does the Stack Store? Initial and Maximum Heap Size Parameters Relation Between Heap Size and Garbage Collection Performance optimizing Referen...

Jul 23, 2024 · 5 min read · esawy.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#memory-management](https://hashnode.com/tag/memory-management)
-   [#java-heap-and-stack](https://hashnode.com/tag/java-heap-and-stack)

## Written by

[Omar Mohamed](https://hashnode.com/@Kapon)

@Kapon

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

As a Computer Engineering graduate from Cairo University, I bring extensive experience as a backend developer. Known for my reliability and

## Responses 2

Markdown supported · ⌘↵ to post

[Suresh Siripurapu](https://hashnode.com/@suresh155)

[Jul 25, 2024](https://hashnode.com/posts/java-heaps-explained-what-you-need-to-know/669fa751cbaa121782e04f29/comment/66a22271e8ae0d923dc62d85)

nice one...helpful

[Abdulrahman Kafafy](https://hashnode.com/@Kafafy)

[Jul 23, 2024](https://hashnode.com/posts/java-heaps-explained-what-you-need-to-know/669fa751cbaa121782e04f29/comment/669fb043cbaa121782e04f5b)

That's very informative and simplified, can't wait for your next articles!
