Top "Memory-management" questions

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.

How to check heap usage of a running JVM from the command line?

Can I check heap usage of a running JVM from the commandline, I mean the actual usage rather than the …

java memory-management garbage-collection jetty jvisualvm
ios app maximum memory budget

I'm working on an ios game that's targeting as a minimum the 3gs. We are using HD assets for retina …

iphone ios memory memory-management
How do I free memory in C?

I'm writing code which has a lot of 1 & 2 dimensional arrays. I got "error: can't allocate region" and I think …

c memory-management malloc
Calculating Page Table Size

I'm reading through an example of page tables and just found this: Consider a system with a 32-bit logical address …

memory-management paging
delete vs delete[] operators in C++

What is the difference between delete and delete[] operators in C++?

c++ memory-management delete-operator
How to get available memory C++/g++?

I want to allocate my buffers according to memory available. Such that, when I do processing and memory usage goes …

c++ memory-management cross-platform
How do you determine the size of an object in C++?

For example, say I have a class Temp: class Temp { public: int function1(int foo) { return 1; } void function2(int bar) { …

c++ class memory size memory-management
Compelling examples of custom C++ allocators?

What are some really good reasons to ditch std::allocator in favor of a custom solution? Have you run across …

c++ memory-management std memory-alignment allocator
calculate the effective access time

This is a paragraph from Operating System Concepts, 9th edition by Silberschatz et al: The percentage of times that the …

caching memory-management tlb
Line size of L1 and L2 caches

From a previous question on this forum, I learned that in most of the memory systems, L1 cache is a …

caching memory-management cpu-architecture cpu-cache