Process of dynamically allocating and freeing portions of physical memory in order to respond to program requests with, if possible, fairness and no starvation among the requesters.
I want to record how much memory (in bytes, hopefully) an object takes up for a project (I'm comparing sizes …
java memory memory-management data-structuresHow can I find the memory used on my Android application, programmatically? I hope there is a way to do …
java android memory memory-managementI would like to know what is the difference between static memory allocation and dynamic memory allocation? Could you explain …
c memory memory-management dynamic-memory-allocation static-memory-allocationI want to limit the maximum memory used by the JVM. Note, this is not just the heap, I want …
java memory memory-management memory-leaks profilingI am trying to use the perfmon windows utility to debug memory leaks in a process. This is how perfmon …
debugging memory-leaks operating-system memory-managementI've been searching for the accurate answer to this question for a couple of days now but haven't got anything …
python memory-management dirI see in C++ there are multiple ways to allocate and free data and I understand that when you call …
c++ memory-management malloc new-operatorI have an class A which uses a heap memory allocation for one of its fields. Class A is instantiated …
c++ memory-management destructor delete-operator base-classThis is my code: int size = 100000000; double sizeInMegabytes = (size * 8.0) / 1024.0 / 1024.0; //762 mb double[] randomNumbers = new double[size]; Exception: Exception of type 'System.…
c# memory-management out-of-memoryI have the following code. #include <iostream> int * foo() { int a = 5; return &a; } int main() { int* p = …
c++ memory-management local-variables dangling-pointer