SQLiteDatabase.MaxSqlCacheSize Field

Definition

Absolute max value that can be set by #setMaxSqlCacheSize(int).

[Android.Runtime.Register("MAX_SQL_CACHE_SIZE")]
public const int MaxSqlCacheSize = 100;
[<Android.Runtime.Register("MAX_SQL_CACHE_SIZE")>]
val mutable MaxSqlCacheSize : int

Field Value

Value = 100
Attributes

Remarks

Absolute max value that can be set by #setMaxSqlCacheSize(int).

Each prepared-statement is between 1K - 6K, depending on the complexity of the SQL statement & schema. A large SQL cache may use a significant amount of memory.

Java documentation for android.database.sqlite.SQLiteDatabase.MAX_SQL_CACHE_SIZE.

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