Top "Out-of-memory" questions

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

Reading images using ImageIO.read(file); causes java.lang.OutOfMemoryError: Java heap space

I am using a ImageIO API to write a PNG file. This code is called in a loop and causes …

java out-of-memory javax.imageio
Out of heap space during serialization

The following code is causing a OutOfMemmoryError: heap space for some 3 million rows. Memory allocated to JVM is 4 GB, using 64 …

java serialization garbage-collection heap-memory out-of-memory
Understanding memory use in R: "cannot allocate vector of size"

I have read about other people's problems with memory use, but none of them help with the following issue. I …

r memory-management out-of-memory r-mice
How can I avoid OutOfMemoryErrors when using Commons FileUpload's DiskFileItem to upload large files?

I am getting OutOfMemoryErrors when uploading large (>300MB) files to a servlet utilizing Commons FileUpload 1.2.1. It seems odd, because …

java servlets heap out-of-memory apache-commons-fileupload
OutOfMemoryException when send big file 500MB using FileStream ASPNET

I'm using Filestream for read big file (> 500 MB) and I get the OutOfMemoryException. I use Asp.net , .net 3.5, win2003, …

asp.net stream download filestream out-of-memory
win32 window in WPF

Recently our application encountered a strange problem. The application has a win32 window in the WPF window, when resize the …

.net wpf windbg out-of-memory
MATLAB is running out of memory but it should not be

I'm trying to apply PCA on my data using princomp(x), that has been standardized. The data is <16 x 1036800 …

matlab memory out-of-memory linear-algebra pca
Hibernate out of memory exception while processing large collection of elements

I am trying to process collection of heavy weight elements (images). Size of collection varies between 8000 - 50000 entries. But for …

java performance hibernate out-of-memory data-processing
changing JAVA_OPTIONS value from -Xmx512M to -Xmx1024M

changing environment variable JAVA_OPTIONS value from -Xmx512M to -Xmx1024M didnt work. When I build my code in …

eclipse out-of-memory heap-size
Tomcat on production server, PermGen and redeploys

It looks like MemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space is a common problem. You can Increase the size …

java tomcat out-of-memory permgen redeploy