Crash during building lighting whilst encoding textures

Hi,

Every time I try to build the lighting, I notice it gets to the Encoding Textures stage then crashes UE4.

This is what I have pulled from the end of the Log File.

Any help would be greatly appreciated,

Cheers.

[2018.11.15-00.58.32:420][756]LogWindows: Windows GetLastError: The operation completed successfully. (0)

[2018.11.15-00.58.35:152][756]LogMemory: Warning: Freeing 33554432 bytes from backup pool to handle out of memory.

[2018.11.15-00.58.35:152][756]LogMemory: Warning: MemoryStats:
AvailablePhysical 508334080
AvailableVirtual 140712882618368
UsedPhysical 6502031360
PeakUsedPhysical 7940481024
UsedVirtual 18661986304
PeakUsedVirtual 18667634688

[2018.11.15-00.58.35:152][756]Allocator Stats for TBB: (not implemented)

[2018.11.15-00.58.35:152][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogWindows: Warning: SymLoadModuleExW. Error: -529697949

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 13 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 19 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 21 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 15 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 16 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 18 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 14 crashed.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 12 crashed.

[2018.11.15-00.58.35:153][756]LogWindows: Error: HandleError re-entered.

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 17 crashed.

[2018.11.15-00.58.35:153][756]LogWindows: Error: HandleError re-entered.

[2018.11.15-00.58.35:153][756]LogWindows: FPlatformMisc::RequestExit(1)

[2018.11.15-00.58.35:153][756]LogWindows: Error: HandleError re-entered.

[2018.11.15-00.58.35:153][756]LogWindows: FPlatformMisc::RequestExit(1)

[2018.11.15-00.58.35:153][756]LogWindows: Error: HandleError re-entered.

[2018.11.15-00.58.35:153][756]LogWindows: FPlatformMisc::RequestExit(1)

[2018.11.15-00.58.35:153][756]LogShaderCompilers: Display: Shaders left to compile 0

[2018.11.15-00.58.35:153][756]LogThreadingWindows: Error: Runnable thread PoolThread 20 crashed.

[2018.11.15-00.58.35:153][756]LogWindows: Error: HandleError re-entered.

[2018.11.15-00.58.35:153][756]LogWindows: FPlatformMisc::RequestExit(1)

[2018.11.15-00.58.35:153][756]LogWindows: FPlatformMisc::RequestExit(1)

[2018.11.15-00.58.35:171][756]Log file closed, 11/15/18 00:58:35

Managed to do a successful lighting build.

I noticed in C:\Users\USERNAME\AppData\Local there was an UnrealEngine folder which was over 40GB, reducing my OS SSD to 20GB free space.

This folder contained derived Data Caches.

I relocated them and set the default directories inside Editor Preferences / Global / Cache directories, giving me 60GB free space on that SSD and it managed to enable the build to complete.

I believe the UE4 Derived Data Cache size was causing a lack in Virtual Memory available space preventing Lighting from being built.