Since the first days of computer programs, one important performance issue was the and still is the amount of used memory. Despite the fact that today the hardware technology provide large amounts of Random Access Memory, software developers must pay attention to how they manage the application memory because they can implement wrong solutions that […]
Tag: Heap
Tutorial Java – #8 Understand Stack and Heap
In order to have a deep understanding of the Object Oriented Programming in Java or any other OOP language (like C#) you must know how things are managed internally by the Java process and by the JVM. Of course Java syntax and Java implementations of OOP principles are important but you will have a more […]
How to: Optimize the Memory Space by Heap Memory Allocation in C++
Memory allocation at the applications run-time enables the use of a storage space, expressed in number of bytes, having the size of heap memory required for data storing defined by the variables. Compile-time allocation allows the reservation and use of storage space with predefined size expressed in number of bytes. In this situation, software developers […]
How to: Apply the Arithmetic of Pointers and Access the Areas of Heap Memory in C++
Areas of heap memory are accessed via variables of pointer type […]. This kind of variable manages values of memory address type. Arithmetic of pointers […] involves the operators use to access the areas of heap memory. Allocating of heap memory areas is done by functions and/or operators implemented in programming language. In the below […]
