Description

This is a common crash affecting users in 4.16, and has occurred since at least 4.12 for more than 200 unique users. The callstack has similarities to [Link Removed], and as-such may be out of our control to fix.

Source Context

 161       	if (GWarn)
  162       	{
  163       		GMalloc->DumpAllocatorStats(*GWarn);
  164       	}
  165       
  166       	// let any registered handlers go
  167       	FCoreDelegates::OnOutOfMemory.Broadcast();
  168       
  169       	UE_LOG(LogMemory, Fatal, TEXT("Ran out of memory allocating %llu bytes with alignment %u"), Size, Alignment);
  170 ***** }
  171       
  172       FMalloc* FGenericPlatformMemory::BaseAllocator()
  173       {
  174       	return new FMallocAnsi();
  175       }
  176       
  177       FPlatformMemoryStats FGenericPlatformMemory::GetStats()
  178       {
  179       	UE_LOG(LogMemory, Warning, TEXT("FGenericPlatformMemory::GetStats not implemented on this platform"));
  180       	return FPlatformMemoryStats();
  181       }
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_Core!FGenericPlatformMemory::OnOutOfMemory() [genericplatformmemory.cpp:171]
UE4Editor_Core!FMallocTBB::Realloc() [malloctbb.cpp:117]
UE4Editor_CoreUObject!TArray<FCompressedChunk,FDefaultAllocator>::ResizeTo() [array.h:2288]
UE4Editor_CoreUObject!operator<<() [array.h:1110]
UE4Editor_CoreUObject!operator<<() [packagefilesummary.cpp:254]
UE4Editor_AssetRegistry!FPackageReader::OpenPackageFile() [packagereader.cpp:65]
UE4Editor_AssetRegistry!FAssetDataGatherer::ReadAssetFile() [assetdatagatherer.cpp:834]
UE4Editor_AssetRegistry!FAssetDataGatherer::Run() [assetdatagatherer.cpp:595]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.124.134.144.154.164.17
Target Fix4.18
Fix Commit3596271
Main Commit3620189
Release Commit3643070
CreatedJul 20, 2017
ResolvedAug 18, 2017
UpdatedApr 27, 2018