Top "Out-of-memory" questions

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

Generate an integer that is not among four billion given ones

I have been given this interview question: Given an input file with four billion integers, provide an algorithm to generate …

algorithm file search out-of-memory memory-limit
java.lang.OutOfMemoryError: bitmap size exceeds VM budget - Android

I developed an application that uses lots of images on Android. The app runs once, fills the information on the …

android memory memory-leaks bitmap out-of-memory
Allowed memory size of X bytes exhausted

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13965430 bytes) PHPInfo shows that I have a memory_limit …

php memory memory-management out-of-memory memory-limit
Unable to execute dex: GC overhead limit exceeded in Eclipse

When I downloaded the Git project OsmAnd and went to compile it, Eclipse returned these errors: [Dex Loader] Unable to …

java android out-of-memory dalvik
Understanding the Linux oom-killer's logs

My app was killed by the oom-killer. It is Ubuntu 11.10 running on a live USB with no swap and the …

linux memory out-of-memory
How to load a large xlsx file with Apache POI?

I have a large .xlsx file (141 MB, containing 293413 lines with 62 columns each) I need to perform some operations within. I …

java memory apache-poi out-of-memory xssf
Processing large xlsx file

I need to auto-fit all rows in large (30k+ rows) xlsx file. The following code via apache poi works on …

java apache-poi out-of-memory xlsx xssf
Is it possible to catch out of memory exception in java?

I'm developing a program that would require huge amount of memory, and I want to catch when out-of-memory exception happens. …

java exception out-of-memory
JMeter OutOfMemoryError

I am facing below OutOfMemor errors, and JMeter stops working.... java.lang.OutOfMemoryError: Java heap space Dumping heap to java_…

memory heap jmeter out-of-memory heap-memory
Composer Update failed -- out of memory

I got this error when running composer.phar update on my VM: PHP Fatal error: Allowed memory size of 1073741824 bytes …

php out-of-memory composer-php