public class java.lang
OutOfMemoryError


Show All Login
Java SE 6
  
Extends: Throwable > Error > VirtualMachineError
Details
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
version1.22, 11/17/05
sinceJDK1.0

Constructors
public OutOfMemoryError()
Constructs an OutOfMemoryError with no detail message.
public OutOfMemoryError(String s) Details
Constructs an OutOfMemoryError with the specified detail message.
sthe detail message.