Hello,
We’re trying to generate a DDC Pak using the following command to speed up loading on slower machines:
UE4Editor-Cmd.exe <Project> -run=DerivedDataCache -fill -DDC=CreateInstalledProjectPak -TargetPlatform=Windows
In extremely rare cases, the process fails with this assertion:
Assertion failed: SerializationSpecificDataSize + DataSize <= MaxCacheSize || MaxCacheSize <= 0
The crash occurs in FMemoryDerivedDataBackend::SaveCache() and seems to happen unpredictably — most of the time the DDC generation succeeds without issue. However, under certain conditions, it hits the MaxCacheSize limit.We’re considering either disabling the in-memory cache entirely or increasing the MaxCacheSize.
Is increasing MaxCacheSize a valid and stable long-term solution? Could it cause issues for users with low-end setups (limited RAM/CPU) when launching the editor or project?
Is it necessary to delete the previous cache if the project has been changed?
Engine/DerivedDataCache/
Project/Saved/DerivedDataCache/
[Image Removed]
P.S. Unfortunately, I’ve lost all crash report files. If it happens again, I’ll attach them if needed.