Udostępnij za pośrednictwem


SQLiteDatabase.ReleaseMemory Method

Definition

Attempts to release memory that SQLite holds but does not require to operate properly.

[Android.Runtime.Register("releaseMemory", "()I", "")]
public static int ReleaseMemory ();
[<Android.Runtime.Register("releaseMemory", "()I", "")>]
static member ReleaseMemory : unit -> int

Returns

the number of bytes actually released

Attributes

Remarks

Attempts to release memory that SQLite holds but does not require to operate properly. Typically this memory will come from the page cache.

Java documentation for android.database.sqlite.SQLiteDatabase.releaseMemory().

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