docs.unity3d.com
    Show / Hide Table of Contents

    Class MemoryStateChanged

    Inheritance
    Object
    MemoryStateChanged
    Namespace: Unity.Reflect.Actors
    Syntax
    public class MemoryStateChanged

    Constructors

    MemoryStateChanged(Int64, Int64, Int64, Int64, Int64, Boolean)

    Declaration
    public MemoryStateChanged(long criticalThreshold, long highThreshold, long mediumThreshold, long usedAppMemory, long totalAppMemory, bool isMemoryLevelTooHigh)
    Parameters
    Type Name Description
    Int64 criticalThreshold
    Int64 highThreshold
    Int64 mediumThreshold
    Int64 usedAppMemory
    Int64 totalAppMemory
    Boolean isMemoryLevelTooHigh

    Fields

    CriticalThreshold

    The amount of memory that is considered dangerous.

    Declaration
    public long CriticalThreshold
    Field Value
    Type Description
    Int64

    HighThreshold

    Threshold from which receivers should start reducing the total amount of memory.

    Declaration
    public long HighThreshold
    Field Value
    Type Description
    Int64

    IsMemoryLevelTooHigh

    Indicates if the receiver should try to remove all allocations to free up as much memory as it can.

    Declaration
    public bool IsMemoryLevelTooHigh
    Field Value
    Type Description
    Boolean

    MediumThreshold

    Threshold from which receivers should start cleaning up unused resources.

    Declaration
    public long MediumThreshold
    Field Value
    Type Description
    Int64

    TotalAppMemory

    The total amount of memory consumed by the application.

    Declaration
    public long TotalAppMemory
    Field Value
    Type Description
    Int64

    UsedAppMemory

    The amount of memory that is used by the application. The difference between this and TotalAppMemory is the reserved memory.

    Declaration
    public long UsedAppMemory
    Field Value
    Type Description
    Int64
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023