Top "Out-of-memory" questions

An error or exception which is thrown when a program makes a request for memory that cannot be satisfied.

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
Dealing with "java.lang.OutOfMemoryError: PermGen space" error

Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's a typical Hibernate/JPA + …

exception memory-leaks out-of-memory java-6 permgen
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
What is a StackOverflowError?

What is a StackOverflowError, what causes it, and how should I deal with them?

memory-leaks exception-handling out-of-memory stack-overflow
Strange out of memory issue while loading an image to a Bitmap object

I have a list view with a couple of image buttons on each row. When you click the list row, …

android image bitmap out-of-memory android-bitmap
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
'System.OutOfMemoryException' was thrown when there is still plenty of memory free

This is my code: int size = 100000000; double sizeInMegabytes = (size * 8.0) / 1024.0 / 1024.0; //762 mb double[] randomNumbers = new double[size]; Exception: Exception of type 'System.…

c# memory-management out-of-memory
Spark java.lang.OutOfMemoryError: Java heap space

My cluster: 1 master, 11 slaves, each node has 6 GB memory. My settings: spark.executor.memory=4g, Dspark.akka.frameSize=512 Here is …

out-of-memory apache-spark
Maven Out of Memory Build Failure

As of today, my maven compile fails. [INFO] [ERROR] Unexpected [INFO] java.lang.OutOfMemoryError: Java heap space [INFO] at java.…

maven out-of-memory maven-3 pom.xml maven-compiler-plugin