Top "Heap-memory" questions

The heap is process memory set aside for dynamic allocation.

How to empty or clear heap memory dynamically in my code

In my application i am using simple gallery and the coverflow both i have my coverflow image gallery on image …

android gallery heap-memory coverflow
Java: New Generation Used 100%, Eden Space Used 100%, From Space Used 100%

jmap -heap gives me output that says: New Generation Used 100%, Eden Space Used 100%, From Space Used 100%, To Space Used: 0%, Perm …

java memory garbage-collection heap-memory jmap
Class members and explicit stack/heap allocation

Let's say we have 4 classes as follows: class A { public: A(void) : m_B() { } private: B m_B; } class B { …

c++ memory memory-management heap-memory stack-memory
Intellij heap size, Initial heap size set to a larger value than the maximum heap size

I'm a beginner in Java, and I just started using Intellij as my IDE. When I use it, sometimes it's …

java memory intellij-idea heap-memory
C# - Garbage Collection

Ok so I understand about the stack and the heap (values live on the Stack, references on the Heap). When …

c# heap-memory stack-memory
Aggressive garbage collector strategy

I am running an application that creates and forgets large amounts of objects, the amount of long existing objects does …

java garbage-collection heap-memory
Variable size arrays in Fortran without Allocate()

Is there a way to create variable size arrays in Fortran on the stack? Allocate() does not work for me, …

arrays memory fortran heap-memory stack-memory
Java : Get heap dump without jmap or without hanging the application

In few circumstance, our application is using around 12 GB of memory. We tried to get the heap dump using jmap …

java memory heap-memory jmap
Fields of class, are they stored in the stack or heap?

I saw a question yesterday which raised (for me) another question. Please look at the following code: public class Class1 { …

c# memory-management heap-memory stack-memory
Increase heap size for sqlworkbench/J

How do we increase heap size for SqlWorkbench/J? I have tried different options but most of it says to …

java macos heap-memory sql-workbench-j