Heap Space vs. Stack Memory in Java | Call Stack Explained | Memory Allocation | Geekific

Geekific
Geekific
20.9 هزار بار بازدید - 3 سال پیش - Discord Community:
Discord Community: Discord: discord
GitHub Repository: https://github.com/geekific-official/

When you create new variables or instantiate objects, when you call a new method, declare a String, or perform any similar operation, the Java Virtual Machine allocates memory for these operations. The memory reserved is either inside the Stack or the Heap part of the memory. In this video, we explain how the JVM divides the memory into a stack and a heap space, allowing your applications to run in an optimal and manageable way.

Timestamps:
00:00 Introduction
00:38 Practical Code Example
04:19 Heap Space vs. Stack Memory
06:02 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:
Object-Oriented Programming Fundamentals: What is Object-Oriented Programming? ...
SOLID Principles and Best Practices: SOLID Design Principles with Java Exa...
Project Lombok Annotations Explained: Project Lombok Annotations Explained ...
Functional Interfaces and Lambda Expressions in Java with Examples: Functional Interfaces and Lambda Expr...
Reading from and Writing to a file in Java: Java NIO | Reading from and Writing t...
Must Know Java Keywords!: Must Know Java Keywords! | private, p...

#Geekific #HeapSpace #StackMemory
3 سال پیش در تاریخ 1400/04/02 منتشر شده است.
20,900 بـار بازدید شده
... بیشتر