-Lightmass crashes when building lighting even with preview lighting quality.
-Sometimes, the editor crashes as well when doing it and I receive a message of Windos telling me that the editor was closed due to a lack of RAM
-Lightmap resolution: some of my assets are set to a resolution of 32, some of them to 128 and the ones that need more quality to 1024. Lowering the resolution avoids the crashes, but decreases shadow quality.
-Swarm Agent’s log when building the lightmass. Lightmasscrash
-Line of the error: "16:05:50: [UpdateTaskState]: Task Killed locally by DANIEL-PC, counted as failure"
I don’t have any anti-virus software and any other memory-consuming app running in the background. Is there any way I can fix it without buying more RAM? My scene isn’t really complex and 8gb RAM seem enough for it, I don’t know what I’m doing wrong.
PS: Sorry if there’s any grammar mistake, english isn’t my mother tongue.
I know this is an older post, but I thought I may ask here. I am also having the same issue as above. I seem to be having the problem only when I add Foliage to the project such as grass and or trees. I have 16 gig of memory and I have also increased the virtual memory up to 6+ gig more and still seem to be running out of memory. I do have the light-mass importance volume in the project as well. Also have tried reducing the light-map down to 35 and still have this problem. Any ideas why I am having these issues?
Error message from log:
Error === Lightmass crashed: ===
Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.9\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 77]
Ran out of memory allocating 1920390176 bytes with alignment 0
Note: Some reason it is looking for the DVD drive (D:\ above line) not hard drive where Unreal 4 or project is installed.
=== Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\build++ue4\sync\engine\source\runtime\core\public\Containers/Array.h] [Line: 611]
Array index out of bounds: 3232332 from an array of size 3232332