March 2002
Intermediate to advanced
480 pages
18h 40m
English
OutOfMemoryError
An OutOfMemoryError is thrown when an allocation of memory
has been attempted, either in Java code or native code, and both the VM and
the garbage collector cannot satisfy the request. This class is the same as
its J2SE equivalent, apart from its inability to be serialized.
public class OutOfMemoryError extends VirtualMachineError {
// Public Constructors
public OutOfMemoryError();
public OutOfMemoryError( String s);
}
Read now
Unlock full access