TGenericGrowableAllocator

Allocator that will grow as needed with direct mapped memory for a given memory type

Windows
MacOS
Linux

Inheritance Hierarchy

FGrowableMallocBase

TGenericGrowableAllocator

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/GenericGrowableAllocator.h

Include

#include "Misc/GenericGrowableAllocator.h"

Syntax

template<typename ChunkAllocatorType, typename GrowableAllocationBaseType>
class TGenericGrowableAllocator : public FGrowableMallocBase

Remarks

Allocator that will grow as needed with direct mapped memory for a given memory type

Constructors

Name Description

Public function

TGenericGrowableAllocator

(
    uint64 InitialSize,
    uint32 InType,
    uint32 InSubAllocationAlignment,
    FName InStatRegionName,
    const FName* InOwnerTypeToStat...,
    void* InUserData
)

Constructor Internally allocates address space for use only by this allocator

Destructors

Name Description

Public function Virtual

~TGenericGrowableAllocator()

Destructor

Functions

Name Description

Public function

void

 

DumpMemoryInfo()

Public function

bool

 

Free

(
    GrowableAllocationBaseType* Me...
)

Public function

void

 

GetAllocationInfo

(
    uint32& Chunks,
    uint64& Used,
    uint64& Free
)

Public function

GrowableAllo...

 

Malloc

(
    uint32 Size,
    uint32 Alignment,
    int32 OwnerType
)

Public function

void

 

ShowAllocationInfo()

Public function

void

 

ShowFullAllocationInfo()

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