Name
OutOfMemoryError
Synopsis
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); }
Get J2ME in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.