Tutorials
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
19.9K+ articles
C++
3.7K+ articles
GATE CS
1.1K+ articles
Operating Systems
989+ articles
Computer Organization & Architecture
744+ articles
system-programming
201+ articles
Computer Organization and Architecture
41+ articles
Operating Systems-Memory Management
33+ articles
C-Dynamic Memory Allocation
26+ articles
memory-management
52 posts
Recent Articles
Popular Articles
alloca() function its advantages and disadvantages
Last Updated: 25 August 2022
What is alloca() function?The function alloca() is used to allocate memory for a stack frame. It's just an unconventional method of dynamically allocating memory. When a f...
read more
Stack
Picked
DSA
memory-management
What is the Recursive stack size ?
Last Updated: 06 February 2023
Recursion: The function calling itself is called recursion. Stack: A stack is a data structure in which elements are inserted and deleted only at one end called the top o...
read more
Stack
Picked
DSA
memory-management
What is a Memory Heap?
Last Updated: 13 March 2023
What is Heap memory?Heaps are memory areas allocated to each program. Memory allocated to heaps can be dynamically allocated, unlike memory allocated to stacks.As a result...
read more
Operating Systems
Picked
Technical Scripter 2022
memory-management
Introduction to Stack memory
Last Updated: 14 March 2023
The stack is a segment of memory that stores temporary variables created by a function. In stack, variables are declared, stored and initialized during runtime.When we com...
read more
Operating Systems
Picked
memory-management
Maximum Stack Size for C/C++ Program
Last Updated: 26 March 2025
Stack size is a crucial aspect of C/C++ programming that determines the amount of memory available for storing function call frames and local variables. In this article, w...
read more
C++
Picked
Technical Scripter 2022
memory-management
How to create an Array of Objects in the Stack memory?
Last Updated: 06 April 2023
What is an Array of Objects?An array of objects is a data structure that stores a collection of objects of the same type. The objects in the array are stored in contiguous...
read more
Stack
Technical Scripter
Picked
Technical Scripter 2022
DSA
memory-management
Memory Stack Organization in Computer Architecture
Last Updated: 11 September 2023
A stack is a storage device in which the information or item stored last is retrieved first. Basically, a computer system follows a memory stack organization, and here we ...
read more
Computer Organization & Architecture
memory-management
Computer Organization and Architecture
Demystifying Memory Management in Modern Java Versions
Last Updated: 02 January 2024
Memory management is the backbone of Java programming, determining how efficiently your applications use system resources. In this comprehensive guide, we will explore the...
read more
Java
memory-management
Python Memory Consumption: Strings vs Lists
Last Updated: 30 January 2024
Programming memory use is an important consideration, particularly when working with big datasets or resource-intensive programs. Writing effective Python code requires kn...
read more
Python
Python Programs
Picked
memory-management
How to write memory efficient classes in Python?
Last Updated: 07 February 2024
Memory efficiency is a critical aspect of software development, especially when working with resource-intensive applications. In Python, crafting memory-efficient classes ...
read more
Python
Python Programs
Picked
How To
memory-management
Writing Memory Efficient Programs Using Generators in Python
Last Updated: 06 May 2024
When writing code in Python, wise use of memory is important, especially when dealing with large amounts of data. One way to do this is to use Python generators. Generator...
read more
Python
Picked
memory-management
How to Create Custom Memory Allocator in C++?
Last Updated: 01 March 2024
In C++ containers, memory allocation is generally managed by allocators through new and delete operators or malloc() and free() functions but for custom memory management ...
read more
C++
Picked
memory-management
Dynamic Memory Allocation
CPP Examples
Handle Memory Error in Python
Last Updated: 05 February 2024
One common issue that developers may encounter, especially when working with loops, is a memory error. In this article, we will explore what a memory error is, delve into ...
read more
Python
Picked
Geeks Premier League
memory-management
Geeks Premier League 2023
How to Dynamically Allocate Memory for an Array of Strings?
Last Updated: 07 February 2024
Dynamic memory and static memory are two types of memory allocation methods in C++ programming. Dynamic memory allows programmers to allocate memory to data structures at ...
read more
C++ Programs
C++
Picked
cpp-array
cpp-pointer
memory-management
C++-new and delete
cpp-strings
CPP Examples
How to Release Memory in C++?
Last Updated: 04 April 2024
In C++, releasing memory means deallocating the memory that was previously allocated by the user. It is very important to avoid memory leaks. Other programming languages l...
read more
C++ Programs
C++
Picked
memory-management
Dynamic Memory Allocation
C++-new and delete
CPP Examples
1
2
3
4
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !