Description

This is a trending crash coming out of the 4.18 release. Users have not provided any descriptions of their actions when the crash occurred.

Source Context

  174       	if (GWarn)
  175       	{
  176       		GMalloc->DumpAllocatorStats(*GWarn);
  177       	}
  178       
  179       	// let any registered handlers go
  180       	FCoreDelegates::GetMemoryTrimDelegate().Broadcast();
  181       
  182       	UE_LOG(LogMemory, Fatal, TEXT("Ran out of memory allocating %llu bytes with alignment %u"), Size, Alignment);
  183 ***** }
  184       
  185       FMalloc* FGenericPlatformMemory::BaseAllocator()
  186       {
  187       	return new FMallocAnsi();
  188       }
Steps to Reproduce

repro steps currently unknown

Callstack
Fatal error: [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 183] 
Ran out of memory allocating 49630 bytes with alignment 0

UE4Editor_Core!FGenericPlatformMemory::OnOutOfMemory() [genericplatformmemory.cpp:184]
UE4Editor_Core!FMallocTBB::Realloc() [malloctbb.cpp:120]
UE4Editor_Core!FMemory::Realloc() [fmemory.inl:48]
UE4Editor_Engine!TArray<wchar_t,FDefaultAllocator>::ResizeGrow() [array.h:2244]
UE4Editor_Engine!GenerateInstancedStereoCode() [shadercompiler.cpp:2508]
UE4Editor_Engine!GlobalBeginCompileShader() [shadercompiler.cpp:2741]
UE4Editor_Engine!FMeshMaterialShaderType::BeginCompileShader() [meshmaterialshader.cpp:68]
UE4Editor_Engine!FMeshMaterialShaderMap::BeginCompile() [meshmaterialshader.cpp:187]
UE4Editor_Engine!FMaterialShaderMap::Compile() [materialshader.cpp:1300]
UE4Editor_Engine!FMaterial::BeginCompileShaderMap() [materialshared.cpp:1799]
UE4Editor_Engine!FMaterial::CacheShaders() [materialshared.cpp:1725]
UE4Editor_Engine!FMaterial::CacheShaders() [materialshared.cpp:1607]
UE4Editor_Engine!UMaterial::CacheShadersForResources() [material.cpp:2317]
UE4Editor_Engine!UMaterial::CacheResourceShadersForRendering() [material.cpp:2235]
UE4Editor_Engine!UMaterial::PostLoad() [material.cpp:2942]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [obj.cpp:988]
UE4Editor_CoreUObject!EndLoad() [uobjectglobals.cpp:1588]
UE4Editor_CoreUObject!LoadPackageInternal() [uobjectglobals.cpp:1333]
UE4Editor_CoreUObject!LoadPackage() [uobjectglobals.cpp:1430]
UE4Editor_CoreUObject!ResolveName() [uobjectglobals.cpp:798]
UE4Editor_CoreUObject!StaticLoadObjectInternal() [uobjectglobals.cpp:886]
UE4Editor_CoreUObject!StaticLoadObject() [uobjectglobals.cpp:953]
UE4Editor_Engine!LoadSpecialMaterial() [unrealengine.cpp:1811]
UE4Editor_Engine!UEngine::InitializeObjectReferences() [unrealengine.cpp:1873]
UE4Editor_UnrealEd!UEditorEngine::InitializeObjectReferences() [editorengine.cpp:809]
UE4Editor_Engine!UEngine::Init() [unrealengine.cpp:1205]
UE4Editor_UnrealEd!UEditorEngine::InitEditor() [editorengine.cpp:575]
UE4Editor_UnrealEd!UEditorEngine::Init() [editorengine.cpp:873]
UE4Editor_UnrealEd!UUnrealEdEngine::Init() [unrealedengine.cpp:73]
UE4Editor!FEngineLoop::Init() [launchengineloop.cpp:2699]
UE4Editor_UnrealEd!EditorInit() [unrealedglobals.cpp:76]
UE4Editor!GuardedMain() [launch.cpp:150]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-52246 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Rendering Architecture - RHI
Affects Versions4.174.18
CreatedNov 10, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021