Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Experimental > API/Runtime/Core/Experimental/FOsAllocator
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Experimental/ConcurrentLinearAllocator.h |
| Include | #include "Experimental/ConcurrentLinearAllocator.h" |
Syntax
static UsesFMalloc = true;
Remarks
Indicates whether memory is acquired from the same source as used by FMalloc i.e. FMemory/FPlatformMemory::BaseAllocator(). It's needed so that ConcurrentLinearAllocator could correctly account for this memory in the memory stats and tracking systems. It is 'true' by default, which is suitable for most implementations. However, if you create a custom allocator that acquires memory in a different way e.g. directly from the OS using FPlatformMemory::BinnedAllocFromOS, then you should set this variable to 'false'.