ActivityManager.SetWatchHeapLimit(Int64) Method

Definition

Request that the system start watching for the calling process to exceed a pss size as given here.

[Android.Runtime.Register("setWatchHeapLimit", "(J)V", "GetSetWatchHeapLimit_JHandler", ApiSince=23)]
public virtual void SetWatchHeapLimit (long pssSize);
[<Android.Runtime.Register("setWatchHeapLimit", "(J)V", "GetSetWatchHeapLimit_JHandler", ApiSince=23)>]
abstract member SetWatchHeapLimit : int64 -> unit
override this.SetWatchHeapLimit : int64 -> unit

Parameters

pssSize
Int64

The size in bytes to set the limit at.

Attributes

Remarks

Java documentation for android.app.ActivityManager.setWatchHeapLimit(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to