Signals that the interpreter has run out of memory (and that garbage collection is unable to free any memory). Figure 10-49. java.lang.OutOfMemoryErrorpublic class OutOfMemoryError extends VirtualMachineError { // Public Constructors public OutOfMemoryError ( ); public OutOfMemoryError (String s ); } |