Top "Heap-memory" questions

The heap is process memory set aside for dynamic allocation.

Java Mission Control Heap Profile

I am playing with the new Java Mission Control Profiler that is coming with the Java 7u40 and I cannot …

java garbage-collection heap-memory jmc jfr
ERROR: AddressSanitizer: heap-buffer-overflow on address X at pc Y bp Z sp W

I'm pretty new to dynamic memory management and using Fsanitise flag to find problems with memory management. I cannot use …

c++ constructor heap-memory dynamic-memory-allocation address-sanitizer
where is array saved in memory in java?

If I have a function that in that function I declare: Object arr[] = new Object[20]; Where are arr and the …

java arrays memory heap-memory stack-memory
Can't open HPROF file with Eclipse Memory Analyzer

Eclipse Memory Analyzer prompts me only with this message: "Invalid HPROF file header". Stack dump: java.io.IOException: Invalid HPROF …

java heap-memory stack-dump
Returning stack variable?

So, I've always been a little fuzzy on C++ pointers vs. ... whatever the other one is called. Like, Object* pointer = …

c++ pointers variables heap-memory stack-memory
Automatic variables in C++

Possible Duplicate: In C++, why should new be used as little as possible? Where are automatic variables allocated in C++? …

c++ memory heap-memory stack-memory automatic-properties
Java API to get CPU and memory usage of my java application

I need an API to get CPU & memory usage of my current process or application in java. I've got …

java cpu-usage heap-memory
Is there any limit on stack memory?

I was going through one of the threads. A program crashed because it had declared an array of 10^6 locally inside …

c memory-management operating-system heap-memory stack-memory
c++ shared_ptr of stack object

I have been learning managed pointers lately and ran into the following scenario. I am implementing a model/controller class …

c++ heap-memory smart-pointers stack-memory