FGenericPlatformMemoryStats

Struct used to hold common memory stats for all platforms.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

struct FGenericPlatformMemoryStats : public FGenericPlatformMemoryConstants

Remarks

Struct used to hold common memory stats for all platforms. These values may change over the entire life of the executable.

Variables

Name Description

Public variable

uint64

 

AvailablePhysical

The amount of physical memory currently available, in bytes.

Public variable

uint64

 

AvailableVirtual

The amount of virtual memory currently available, in bytes.

Public variable

uint64

 

PeakUsedPhysical

The peak amount of physical memory used by the process, in bytes.

Public variable

uint64

 

PeakUsedVirtual

The peak amount of virtual memory used by the process.

Public variable

uint64

 

UsedPhysical

The amount of physical memory used by the process, in bytes.

Public variable

uint64

 

UsedVirtual

Total amount of virtual memory used by the process.

Constructors

Name Description

Public function

FGenericPlatformMemoryStats()

Default constructor, clears all variables.

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback