FGenericPlatformMemory::BinnedAllocFromOS

Allocates pages from the OS.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Include

#include "GenericPlatform/GenericPlatformMemory.h"

Syntax

static void * BinnedAllocFromOS
(
    SIZE_T Size
)

Remarks

Allocates pages from the OS.

Returns

OS allocated pointer for use by binned allocator

Parameters

Parameter

Description

Size

Size to allocate, not necessarily aligned