Show / Hide Table of Contents

Property MemoryLimit

MemoryLimit

Gets or sets the amount of total memory a process can use to render scene data. Note that setting this property must be done before any SceneView instances are constructed. The value is in bytes.

Declaration
public static long MemoryLimit { get; set; }
Property Value
Type Description
System.Int64

The amount of total memory a process can use to render scene data. Note that setting this property must be done before any SceneView instances are constructed. The value is in bytes.

Remarks

The default memory limit is determined as follows. If ActivityManager.LargeMemoryClass specifies a value greater than 1 GiB, that value is used as the limit. Otherwise, if 45% of total system memory is less than 1 GiB, that value is used as the memory limit. Otherwise, 1 GiB is used as the memory limit.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Limit cannot be less than or equal to 256MB (268,435,456 bytes)

Applies to

Platforms and versions
TargetVersions
.NET Android200.0 - 200.8
Xamarin.Android100.3 - 100.15
In This Article
Back to top Copyright © 2022 Esri.