Android Guides | Samples

Java.Lang.OutOfMemoryError Class

Thrown when a request for memory is made that can not be satisfied using the available platform resources.

See Also: OutOfMemoryError

Syntax

[Android.Runtime.Register("java/lang/OutOfMemoryError", DoNotGenerateAcw=true)]
public class OutOfMemoryError : VirtualMachineError

Remarks

Thrown when a request for memory is made that can not be satisfied using the available platform resources. Such a request may be made by both the running application or by an internal function of the VM.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.OutOfMemoryError are listed below.

See Also: VirtualMachineError

Public Constructors

Constructs a new OutOfMemoryError that includes the current stack trace.
Constructs a new OutOfMemoryError with the current stack trace and the specified detail message.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.