7#include "HAL/MemoryBase.h"
8#include "Logging/LogCategory.h"
9#include "Logging/LogMacros.h"
10#include "Trace/Detail/Channel.h"
30
31
40 virtual void* Malloc( SIZE_T Size, uint32 Alignment ) override;
41 virtual void* Realloc(
void* Ptr, SIZE_T NewSize, uint32 Alignment ) override;
42 virtual void Free(
void* Ptr ) override;
43 virtual void DumpAllocatorStats( FOutputDevice& Ar ) override;
44 virtual bool GetAllocationSize(
void *Original, SIZE_T &SizeOut) override;
45 virtual bool IsInternallyThreadSafe()
const override {
return true; }
46 virtual const TCHAR* GetDescriptiveName() override {
return TEXT(
"jemalloc"); }
52 UE_LOG(LogHAL, Fatal, TEXT(
"%s"), TEXT(
"Ran out of virtual memory. To prevent this condition, you must free up more space on your primary hard disk.") );