Top "Heap-memory" questions

The heap is process memory set aside for dynamic allocation.

How to deal with "java.lang.OutOfMemoryError: Java heap space" error?

I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into java.lang.OutOfMemoryError: …

java jvm out-of-memory heap-memory
Error java.lang.OutOfMemoryError: GC overhead limit exceeded

I get this error message as I execute my JUnit tests: java.lang.OutOfMemoryError: GC overhead limit exceeded I know …

java garbage-collection out-of-memory heap-memory
Increase heap size in Java

I am working on a Windows 2003 server (64-bit) with 8 GB RAM. How can I increase the heap memory maximum? I …

java heap-memory
java.lang.OutOfMemoryError: GC overhead limit exceeded

I am getting this error in a program that creates several (hundreds of thousands) HashMap objects with a few (15-20) …

java hashmap heap heap-memory g1gc
How is the default max Java heap size determined?

If I omit the -Xmxn option from the Java command line then a default value will be used. According to …

java heap heap-memory
Node.js heap out of memory

Today I ran my script for filesystem indexing to refresh RAID files index and after 4h it crashed with following …

javascript node.js crash out-of-memory heap-memory
java.lang.OutOfMemoryError: Java heap space

I am getting the following error on execution of a multi-threading program java.lang.OutOfMemoryError: Java heap space The above …

java multithreading out-of-memory heap-memory
Heap space out of memory

My application currently consumes quite a lot of memory because it is running physics simulations. The issue is that consistently, …

java memory physics heap-memory
Java heap terminology: young, old and permanent generations?

I'm trying to understand What the concepts of young, old and permanent generations are in the Java heap terminology, and …

java garbage-collection jvm heap-memory
Tomcat 7: How to set initial heap size correctly?

I was trying to adjust initial heap size of a tomcat 7 (CentOS, java -version: 1.6.0_25-b06) instance by adding the following …

java linux tomcat7 heap-memory