Hrqls
Hrqls

Reputation: 2951

Heap size in eclipse: what is it and what values are common?

In eclipse i see I have 214M of 884M heap size but changes to 46M of 938M later

What exactly is this heap and what is it used for?

When I Google for it all I find is questions about how to enlarge it.... Which also makes me wonder if my max of 884M is sufficient?

The projects I develop aren't that big (11 java files)

Upvotes: 0

Views: 94

Answers (1)

fmcato
fmcato

Reputation: 172

The heap is the memory structure the Java Virtual Machine uses to hold objects, in this case the JVM that is running Eclipse (including the caches, etc.).

Here is an in-depth article that should help you understand it better (skim to "Memory Model"): https://anturis.com/blog/java-virtual-machine-the-essential-guide/

Upvotes: 1

Related Questions