FObjectMemoryAnalyzer

Analyzes memory usage of UObjects

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectMemoryAnalyzer.h

Include

#include "UObject/ObjectMemoryAnalyzer.h"

Syntax

struct FObjectMemoryAnalyzer

Remarks

Analyzes memory usage of UObjects

Constructors

Name Description

Public function

FObjectMemoryAnalyzer

(
    uint32 Flags
)

Public function

FObjectMemoryAnalyzer

(
    UClass* BaseClass,
    uint32 Flags
)

Public function

FObjectMemoryAnalyzer

(
    UObject* Object,
    uint32 Flags
)

Public function

FObjectMemoryAnalyzer

(
    const TArray< class UObject* >...,
    uint32 Flags
)

Functions

Name Description

Public function

void

 

AnalyzeObject

(
    UObject* Object
)

Analyzes the memory usage of the specified object

Public function

void

 

AnalyzeObjects

(
    const TArray< class UObject* >...
)

Analyzes the memory usage of the specified object list

Public function

void

 

AnalyzeObjects

(
    UClass* BaseClass
)

Analyzes the memory usage of all objects with the specified class

Public function

const FObjec...

 

GetObjectMemoryUsage

(
    UObject* Obj
)

Returns the memory usage of an object not in the result set ( ex. referenced by a result )

Public function

int32

 

GetResults

(
    TArray< FObjectMemoryUsage >& Resu...
)

Returns the results

Public function

void

 

PrintResults

(
    FOutputDevice& Ar,
    uint32 PrintFlags
)

Classes

Name

Description

Public struct

EAnalyzeFlags

Flags to modify the memory counting behavior

Public struct

EPrintFlags

Public struct

ESortKey

Public struct

FCompareFSortBySize

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss