Name
OutOfMemoryError
Synopsis
Signals that the interpreter has run out of memory (and that garbage collection is unable to free any memory).
Figure 10-49. java.lang.OutOfMemoryError
public class OutOfMemoryError extends VirtualMachineError { // Public Constructors public OutOfMemoryError( ); public OutOfMemoryError(String s); }
Get Java in a Nutshell, 5th Edition 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.