Top "Heap-memory" questions

The heap is process memory set aside for dynamic allocation.

How to create a struct on the stack in C?

I understand how to create a struct on the heap using malloc. Was looking for some documentation regarding creating a …

c heap-memory stack-memory
Loading a large hprof into jhat

I have a 6.5GB Hprof file that was dumped by a 64-bit JVM using the -XX:-HeapDumpOnOutOfMemoryError option. I have …

java memory-leaks jvm heap-memory jhat
Are global variables in C++ stored on the stack, heap or neither of them?

I have an exam on tuesday and I've noticed that, this question is one that my teacher asks a lot …

c++ global-variables heap-memory stack-memory
Why are two different concepts both called "heap"?

Why are the runtime heap used for dynamic memory allocation in C-style languages and the data structure both called "the …

c++ heap terminology heap-memory
IntelliJ Idea giving java.lang.OutOfMemoryError: Java heap space error even after increasing heap size

I have repeatedly got the java.lang.OutOfMemoryError: Java heap space error when compiling my android project on IntelliJ Idea. …

java android intellij-idea heap-memory
What is available and free memory in response of free command on Linux?

The output of the free command that I fired on my Linux host is as below: free total used free …

linux unix memory heap-memory free-command
An internal error occurred during: "Updating indexes".Java heap space during eclipse start up?

I am getting below error while starting eclipse An internal error occurred during: "Updating indexes".Java heap space? It was …

java eclipse heap-memory
How to increase Heap memory of Netbeans platform's Application in java?

I m making Desktop Application in netbeans plpatform in java swing.when i run my App in netbeans 7.0 it work …

java netbeans platform heap-memory
PermGen and Heap, Difference and their significance

Friends, Can you please give me significance, difference and uses for Heap and PermGen. Also it would be good to …

java memory jvm heap-memory
How to get heap usage using jstat?

I'm running jstat -gc (from OpenJDK): # jstat -gc 1 S0C S1C S0U S1U EC EU OC OU …

java heap-memory jstat