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
Tag Archives: memory-management
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
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
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