Lightmass crashed problem

Yea I have this problem where I built the light and this error pops out :

Error <Ninguno> === Lightmass crashed: ===
Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 53]
Ran out of memory allocating 2897066016 bytes with alignment 0

KERNELBASE.dll {0x000007fefce3b3dd} + 0 bytes
UnrealLightmass-Core.dll {0x000007fec367e6bf} + 0 bytes
UnrealLightmass-Core.dll {0x000007fec3561058} + 0 bytes
UnrealLightmass-Core.dll {0x000007fec3542098} + 0 bytes
UnrealLightmass-Core.dll {0x000007fec340af40} + 0 bytes
UnrealLightmass-Core.dll {0x000007fec3414c62} + 0 bytes
UnrealLightmass-Core.dll {0x000007fec33a0405} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree<Lightmass::FStaticLightingAggregateMeshDataProvider const ,unsigned int>::Build() {0x000000013f3d209d} + 0 bytes
UnrealLightmass.exe!Lightmass::FStaticLightingAggregateMesh::PrepareForRaytracing() {0x000000013f4149ba} + 0 bytes
UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() {0x000000013f3b252f} + 0 bytes
UnrealLightmass.exe!Lightmass::BuildStaticLighting() {0x000000013f3d2aca} + 0 bytes
UnrealLightmass.exe!Lightmass::LightmassMain() {0x000000013f40f3b8} + 0 bytes
UnrealLightmass.exe!main() {0x000000013f42d94f} + 0 bytes
UnrealLightmass.exe!__tmainCRTStartup() {0x000000013f48950b} + 0 bytes
kernel32.dll {0x0000000076c059cd} + 0 bytes
ntdll.dll {0x0000000076e3b981} + 0 bytes
ntdll.dll {0x0000000076e3b981} + 0 bytes

You ran out of memory, building lighting has to load all of the assets in the level, so if you have a lot of things then it will use a lot of memory. In big open world type maps you should not use lightmass but instead use a dynamic lighting system, otherwise even if you can build the lighting it would use a lot of disc space.

Thank you very much for helping me.