Skip to content

Tag Archives: memory-management

In the Client JVM: The default maximum heap size is half of the physical memory up to a physical memory size of 192 megabytes and… Read More
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.… Read More
Recursion: The function calling itself is called recursion.   Stack: A stack is a data structure in which elements are inserted and deleted only at… Read More
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.… Read More
What is Stack? A stack is a conceptual structure made up of a collection of homogeneous elements that operates on the last in first out… Read More
Introduction:  The memory stack is a mechanism in JavaScript that allows us to allocate and free memory.  If a programmer wants to store some data,… Read More
What is stack size estimation? Stack size estimation is the process of forecasting the size of the stack that an operating system might use for… Read More
A Stack is a temporary memory address space that is used to hold arguments and automatic variables during the invocation of a subprogram or function… Read More
What variable stack size is and how does it affect computer networks? A variable stack depth (VSD) means that the maximum number of frames the… Read More
Each time an array is declared in the program, contiguous memory is allocated to it.  Array base address: The address of the first array element… Read More
Pre-requisite:  Linked List Data StructureStack vsHeap Memory Allocation The Linked List is a linear data structure, in which the elements are not stored at contiguous… Read More
A structure is a user-defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different… Read More
In this article, the differences between passing “pointer to pointer” and “address of pointer” to a function. In C or C++ Programming Language, it is… Read More
Prerequisites: Cache Memory Memory Access Paging Transition Look Aside Buffer Revisiting Cache AccessWhen a CPU generates physical address, the access to main memory precedes with… Read More
Cache Memory is a small, fast memory that holds a fraction of the overall contents of the memory. Its mathematical model is defined by its… Read More

Start Your Coding Journey Now!