# Why huge tile based levels are crash lightmap build?

**URL:** <https://forums.unrealengine.com/t/why-huge-tile-based-levels-are-crash-lightmap-build/464344>\
**Category:** Rendering\
**Tags:** engine-crash, unreal-engine, Lightmap, question\
**Created:** [April 28, 2020, 1:20am UTC](https://forums.unrealengine.com/t/why-huge-tile-based-levels-are-crash-lightmap-build/464344 "2020-04-28T01:20:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![foranie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@foranie](https://forums.unrealengine.com/u/foranie)\
**Post date:** [April 28, 2020, 1:20am UTC](https://forums.unrealengine.com/t/why-huge-tile-based-levels-are-crash-lightmap-build/464344/1 "2020-04-28T01:20:09Z")

</div>

I make simple and huge levels use poly tile style assets.

When placing terrain is finish, I tried build light map.

After a few hours, build lightmap is finished. Next, engine try import lightmap texture and engine is crashed.

I try somthing that.

**1. show error log.**

```
[2020.04.26-19.48.04:650][419]LogVolumetricLightmapImport: Bricks in each level
[2020.04.26-19.48.04:661][419]LogVolumetricLightmapImport: poly 8678 bricks 100.0% (Persistent Level)
[2020.04.26-19.52.10:591][419]LogMemory: Warning: Freeing 33554432 bytes from backup pool to handle **out of memory.**
[2020.04.26-19.52.10:789][419]LogMemory: Warning: MemoryStats:
	AvailablePhysical 428322816
	 AvailableVirtual 140695585501184
	     UsedPhysical 18153652224
	 PeakUsedPhysical 18552745984
	      UsedVirtual 35593670656
	  PeakUsedVirtual 35595182080
[2020.04.26-19.52.10:800][419]Allocator Stats for TBB: (not implemented)
[2020.04.26-19.52.10:826][419]LogOutputDevice: Warning: 

```

**2. So. add a more memory. (16 to 32) But noting change.**

**3. I think engine Upgrade is best solution. So upgrade 4.23 to 4.24.**  
memory usage is reduced, but has same error.

**4. At last. deleting some tile in my levels. Surprisingly build is succeed.**

**5. I want trace this error. so attach visual studio, but shutdown all of progream after build lightmap.**

I don’t have any idea. How can I fix it?

* * *

Pictures

My level side to side view.

 ![300697-starttoend.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/a/fba78196a5c19589ce03a39aea534259fae94bfa.jpeg)

my level size. 1km X 1.1km

 ![300698-playplace.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/8/8d89089d904d58afc7b4169b513127e8d9d4fb84.png)

many area is empty.

 ![300699-emptyspace.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/f/89f543f0f9eaac363b35d538e0f09abbec12920b.jpeg)

* * *

Error Log (searching word “\<---------------” . its critical point)

```
[2020.04.26-18.47.37:135][0]LightingResults: New page: 라이팅 빌드** <----------------Start Light Build 18 : 47 

[2020.04.26-18.47.37:145][0]LogWorld: UWorld::CleanupWorld for Untitled, bSessionEnded=true, bCleanupResources=true
[2020.04.26-18.47.37:175][0]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2020.04.26-18.47.37:175][0]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(31)] Fog Controller is removed for: Untitled
[2020.04.26-18.47.37:185][0]MapCheck: New page: 맵 체크
[2020.04.26-18.47.37:185][0]LightingResults: New page: 라이팅 빌드
[2020.04.26-18.47.37:308][0]LogUObjectHash: Compacting FUObjectHashTables data took 1.84ms
[2020.04.26-18.47.37:978][0]LoadErrors: Warning: 이제 리니어 컬러 값이 1 을 초과하는 RGB 값을 정확히 처리합니다. HSV 클램핑에 의존하고 있었다면, Curve_GoodSky_BaseCloudColor 업데이트 바랍니다.
[2020.04.26-18.47.37:978][0]LoadErrors: Warning: 이제 리니어 컬러 값이 1 을 초과하는 RGB 값을 정확히 처리합니다. HSV 클램핑에 의존하고 있었다면, Curve_GoodSky_AllOverlayColor 업데이트 바랍니다.
[2020.04.26-18.47.38:014][0]LoadErrors: Warning: 이제 리니어 컬러 값이 1 을 초과하는 RGB 값을 정확히 처리합니다. HSV 클램핑에 의존하고 있었다면, Curve_GoodSky_DomeColor 업데이트 바랍니다.
[2020.04.26-18.47.38:023][0]LoadErrors: Warning: 이제 리니어 컬러 값이 1 을 초과하는 RGB 값을 정확히 처리합니다. HSV 클램핑에 의존하고 있었다면, Curve_GoodSky_horizon_Color 업데이트 바랍니다.
[2020.04.26-18.47.38:056][0]LogAIModule: Creating AISystem for world default_game
[2020.04.26-18.47.38:057][0]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(41)] Fog Controller is created for: default_game
[2020.04.26-18.47.38:330][0]LogEditorServer: Finished looking for orphan Actors (0.000 secs)
[2020.04.26-18.47.38:385][0]LogUObjectHash: Compacting FUObjectHashTables data took 3.09ms
[2020.04.26-18.47.38:386][0]Cmd: MAP CHECKDEP NOCLEARLOG
[2020.04.26-18.47.38:387][0]MapCheck: 맵 체크 완료: 오류 0 회, 경고 0 회, 소요 시간 0.473ms.
[2020.04.26-18.47.38:387][0]LogFileHelpers: Loading map 'default_game' took 1.261
[2020.04.26-18.47.38:387][0]LogAssetRegistry: Flushing asset discovery search because of synchronous request, this can take several seconds...
[2020.04.26-18.47.38:590][0]LogAssetRegistry: Asset discovery search completed in 0.2030 seconds
[2020.04.26-18.47.38:615][0]LogCollectionManager: Loaded 0 collections in 0.002273 seconds
[2020.04.26-18.47.38:620][0]LogFileCache: Scanning file cache for directory 'G:/TowerChess/Saved/Collections/' took 0.00s
[2020.04.26-18.47.38:620][0]LogFileCache: Scanning file cache for directory 'G:/TowerChess/Content/Developers/pc1/Collections/' took 0.00s
[2020.04.26-18.47.38:620][0]LogFileCache: Scanning file cache for directory 'G:/TowerChess/Content/Collections/' took 0.00s
[2020.04.26-18.47.38:620][0]LogCollectionManager: Fixed up redirectors for 0 collections in 0.000014 seconds (updated 0 objects)
[2020.04.26-18.47.39:141][0]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2020.04.26-18.47.39:158][0]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2020.04.26-18.47.39:164][0]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2020.04.26-18.47.39:170][0]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2020.04.26-18.47.39:278][0]LogContentBrowser: Native class hierarchy populated in 0.0095 seconds. Added 3092 classes and 752 folders.
[2020.04.26-18.47.39:287][0]LogContentBrowser: Native class hierarchy updated for 'WidgetCarousel' in 0.0005 seconds. Added 0 classes and 0 folders.
[2020.04.26-18.47.39:421][0]LogContentBrowser: Native class hierarchy updated for 'AddContentDialog' in 0.0006 seconds. Added 0 classes and 0 folders.
[2020.04.26-18.47.39:468][0]LogContentBrowser: Native class hierarchy updated for 'SceneOutliner' in 0.0006 seconds. Added 2 classes and 3 folders.
[2020.04.26-18.47.39:831][0]LogSlate: Took 0.033555 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/NanumGothicBold.ttf' (4188K)
[2020.04.26-18.47.39:871][0]LogSlate: Took 0.039876 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Bold.ttf' (160K)
[2020.04.26-18.47.39:897][0]LogSlate: Took 0.013550 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/FontAwesome.ttf' (139K)
[2020.04.26-18.47.40:209][0]LogRenderer: Reallocating scene render targets to support 1744x896 Format 10 NumSamples 1 (Frame:1).
[2020.04.26-18.47.40:505][0]LogContentBrowser: Native class hierarchy updated for 'HierarchicalLODOutliner' in 0.0006 seconds. Added 0 classes and 0 folders.
[2020.04.26-18.47.40:505][0]LogLoad: (Engine Initialization) Total time: 153.78 seconds
[2020.04.26-18.47.40:505][0]LogLoad: (Engine Initialization) Total Blueprint compile time: 0.00 seconds
[2020.04.26-18.47.40:924][0]LogContentStreaming: Texture pool size now 1000 MB
[2020.04.26-18.47.41:046][1]LogSubstanceLiveLink: Warning: Unable to send data along socket, closing connection
[2020.04.26-18.47.44:453][11]LogSlate: Window '메시지 로그' being destroyed
[2020.04.26-18.47.44:458][11]LogSlate: Window '메시지 로그' being destroyed
[2020.04.26-18.47.46:518][120]LogTcpMessaging: Started Connection to '127.0.0.1:6666'
[2020.04.26-18.47.48:245][301]Cmd: MAP LOAD FILE="G:/TowerChess/Content/Maps/poly.umap" TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3
[2020.04.26-18.47.48:258][301]LogSlate: Took 0.009184 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (167K)
[2020.04.26-18.47.48:275][301]LightingResults: New page: 라이팅 빌드
[2020.04.26-18.47.48:276][301]LoadErrors: New page: 맵 로드중: poly.umap
[2020.04.26-18.47.48:286][301]LogWorld: UWorld::CleanupWorld for default_game, bSessionEnded=true, bCleanupResources=true
[2020.04.26-18.47.48:286][301]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2020.04.26-18.47.48:286][301]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(31)] Fog Controller is removed for: default_game
[2020.04.26-18.47.48:286][301]MapCheck: New page: 맵 체크
[2020.04.26-18.47.48:286][301]LightingResults: New page: 라이팅 빌드
[2020.04.26-18.47.48:336][301]LogUObjectHash: Compacting FUObjectHashTables data took 2.04ms
[2020.04.26-18.47.48:340][301]LogLinker: Warning: Asset 'G:/TowerChess/Content/Maps/poly.umap' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2020.04.26-18.47.52:512][301]LogAIModule: Creating AISystem for world poly
[2020.04.26-18.47.52:512][301]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(41)] Fog Controller is created for: poly
[2020.04.26-18.47.53:398][301]LogEditorServer: Finished looking for orphan Actors (0.002 secs)
[2020.04.26-18.47.53:612][301]LogUObjectHash: Compacting FUObjectHashTables data took 2.97ms
[2020.04.26-18.47.53:631][301]Cmd: MAP CHECKDEP NOCLEARLOG
[2020.04.26-18.47.53:635][301]MapCheck: 맵 체크 완료: 오류 0 회, 경고 0 회, 소요 시간 3.611ms.
[2020.04.26-18.47.53:635][301]LogFileHelpers: Loading map 'poly' took 5.415
[2020.04.26-18.48.06:415][805]LogContentBrowser: Native class hierarchy updated for 'WorldBrowser' in 0.0006 seconds. Added 2 classes and 3 folders.
[2020.04.26-18.48.10:128][998]LogSlate: Window '레벨' being destroyed
[2020.04.26-18.48.10:138][998]LogSlate: Window '레벨' being destroyed
[2020.04.26-18.48.28:506][177]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(41)] Fog Controller is created for: World_0
[2020.04.26-18.49.30:558][426]LogSlate: Window '통계' being destroyed
[2020.04.26-18.49.30:570][426]LogSlate: Window '통계' being destroyed
[2020.04.26-18.49.38:425][210]MapCheck: New page: 맵 체크
[2020.04.26-18.49.38:518][210]LightingResults: New page: 라이팅 빌드 - 2020. 4. 27. 오후 12:49:38
[2020.04.26-18.49.38:673][210]LogSwarmInterface: [OpenConnection] Registering TCP channel ...
[2020.04.26-18.49.38:681][210]LogSwarmInterface: [OpenConnection] Connecting to agent ...
[2020.04.26-18.49.38:694][210]LogSwarmInterface: [TryOpenConnection] Testing the Agent
[2020.04.26-18.49.38:697][210]LogSwarmInterface: [TryOpenConnection] Opening Connection to Agent
[2020.04.26-18.49.38:697][210]LogSwarmInterface: [TryOpenConnection] Local Process ID is 13580
[2020.04.26-18.49.43:631][210]LogStaticLightingSystem: Running Lightmass w/ ImmediateImport mode ENABLED
[2020.04.26-18.49.43:631][210]LogStaticLightingSystem: Running Lightmass w/ ImmediateProcess mode ENABLED
[2020.04.26-18.49.43:631][210]LogStaticLightingSystem: Running Lightmass w/ Sorting mode ENABLED
[2020.04.26-18.49.43:631][210]LogStaticLightingSystem: Running Lightmass w/ Mapping paddings ENABLED
[2020.04.26-18.49.43:631][210]LogStaticLightingSystem: Running Lightmass w/ Mapping debug paddings DISABLED
[2020.04.26-18.49.44:364][210]LogEditorBuildUtils: Build time 0:05
[2020.04.26-18.49.44:481][211]LogUObjectHash: Compacting FUObjectHashTables data took 5.33ms
[2020.04.26-19.03.21:098][633]LogEditorViewport: Clicking on Actor (LMB): StaticMeshActor (SM_Prop_Barrier_725)
[2020.04.26-19.03.26:024][635]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(41)] Fog Controller is created for: World_1
[2020.04.26-19.22.54:682][91]LogEditorViewport: Clicking on Actor (LMB): SkeletalMeshActor (SK_Veh_Plane_01)
[2020.04.26-19.22.55:888][92]LogVaFog: [FVaFogOfWarModule::StartupModule::::operator ()(41)] Fog Controller is created for: World_2
[2020.04.26-19.23.01:460][93]LogD3D11RHI: GetQueryData is taking a very long time (5.0 s)
[2020.04.26-19.23.51:622][243]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.23.52:114][245]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.23.54:172][251]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.23.54:660][252]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.23.58:368][263]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.25.32:610][536]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.26.52:151][766]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.28.39:663][76]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.30.54:739][465]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.31.50:589][626]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.32.19:417][708]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.32.21:417][713]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.33.14:002][865]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.35.28:082][252]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.35.36:050][275]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.38.05:374][705]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.38.53:948][845]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.39.41:264][981]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.40.51:798][185]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.40.51:798][185]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.41.21:828][271]LogAudioMixer: Display: Audio Buffer Underrun detected.
[2020.04.26-19.43.10:542][584]LogAudioMixer: Display: Audio Buffer Underrun detected.

**[2020.04.26-19.47.57:934][418]Job is a success!** <---------------- Light Map Build Finish. 18 : 47 to 19 : 47

**[2020.04.26-19.48.04:647][419]LogVolumetricLightmapImport: Imported Volumetric Lightmap in 3.633s** <----------------Importing Lightmap Texture

[2020.04.26-19.48.04:647][419]LogVolumetricLightmapImport: Indirection Texture 128x144x16 = 1.1Mb
[2020.04.26-19.48.04:649][419]LogVolumetricLightmapImport: BrickData (all levels) 42.5Mb (trimmed 4.4Mb due to 0.010000 MinBrickError) (trimmed 52.0Mb due to 30.0Mb MaximumBrickMemoryMb)
[2020.04.26-19.48.04:649][419]LogVolumetricLightmapImport: Bricks at depth
[2020.04.26-19.48.04:649][419]LogVolumetricLightmapImport: 0: 0.8% covering 100.0% of volume
[2020.04.26-19.48.04:649][419]LogVolumetricLightmapImport: 1: 17.6% covering 33.1% of volume
[2020.04.26-19.48.04:649][419]LogVolumetricLightmapImport: 2: 81.6% covering 2.4% of volume
[2020.04.26-19.48.04:650][419]LogVolumetricLightmapImport: Bricks in each level
[2020.04.26-19.48.04:661][419]LogVolumetricLightmapImport: poly 8678 bricks 100.0% (Persistent Level)

**[2020.04.26-19.52.10:591][419]LogMemory: Warning: Freeing 33554432 bytes from backup pool to handle out of memory.** <---------------- Out Of Memory is my error popup message

[2020.04.26-19.52.10:789][419]LogMemory: Warning: MemoryStats:
	AvailablePhysical 428322816
	 AvailableVirtual 140695585501184
	     UsedPhysical 18153652224
	 PeakUsedPhysical 18552745984
	      UsedVirtual 35593670656
	  PeakUsedVirtual 35595182080
[2020.04.26-19.52.10:800][419]Allocator Stats for TBB: (not implemented)
[2020.04.26-19.52.10:826][419]LogOutputDevice: Warning: 

Script Stack (0 frames):

[2020.04.26-19.52.10:834][419]LogWindows: Windows GetLastError: 작업을 완료했습니다. (0)

```
