FGrowableMallocChunk::CreateInternalMemory

Lets the implementation allocate the backing memory for the chunk

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/GenericGrowableAllocator.h"

Syntax

uint64 CreateInternalMemory
(
    uint64 Size
)

Remarks

Lets the implementation allocate the backing memory for the chunk

Implementation needs to pause LLM tracking for ELLMTracker::Default if it's allocating from an allocator that tracks via ELLMTracker::Default

Returns

The actual size of the chunk that was allocated (could be much larger than Size)

Parameters

Parameter

Description

Size

Minimum size needed for this allocation. The implementation will likely allocate more, and return that amount

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