|Import Statement:||import Esri.ArcGISRuntime 100.10|
- memoryLimit : int
Currently, this type only applies to Android, but could be expanded in the future to apply to other platforms.
Note: You cannot declare or create a component of this type in QML code. Rather, an instance is automatically created and only that single instance is available for use in the application.
The total memory (in bytes) that a process can use for rendering scene data (Android only).
The memory limit is set by default upon initialization of the first SceneView instance and this should be sufficient for most use cases. Before any SceneView instance has been created, zero is returned.
For some use cases you might want to choose to override the default to increase or reduce the limit. In those cases, set this property before instantiating any SceneView objects. If you choose to override this limit, consider the device's recommended memory limits. You can get that value from
The default value is determined as follows:
ActivityManager.getLargeMemoryClass()is greater than 1 gigabyte, then that value is used as the default value.
- Otherwise, check whether 45% of total system memory
android.app.ActivityManager.MemoryInfo.totalMemis less than 1 gigabyte. If so, then that value is used as the default value.
- Otherwise, the default value is 1 gigabyte.
Emitted when the memoryLimit property changes (Android only).
Note: The corresponding handler is