# Checking "Affect Distance Field Lighting" on foliage crashes editor

**URL:** <https://forums.unrealengine.com/t/checking-affect-distance-field-lighting-on-foliage-crashes-editor/370436>\
**Category:** World Creation\
**Tags:** distance-field-ambie, unreal-engine, Foliage, question\
**Created:** [September 14, 2016, 3:42pm UTC](https://forums.unrealengine.com/t/checking-affect-distance-field-lighting-on-foliage-crashes-editor/370436 "2016-09-14T15:42:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pseudocorpus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pseudocorpus/32/453689_2.png) [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Post date:** [September 14, 2016, 3:42pm UTC](https://forums.unrealengine.com/t/checking-affect-distance-field-lighting-on-foliage-crashes-editor/370436/1 "2016-09-14T15:42:32Z")

</div>

Hello there,

I plastered my landscape with a lot of trees and now I would like my foliage to generate distance field ambient occlusion. To do so, the documentation says that I have to check the option “Affect Distance Field Lighting” inside the foliage actor.

But when I do so, the editor immediatly crashes with an “out of memory” error.

![106973-outofvideomemory.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/0/510287d1e0688e85ecbeac2b146f182a7a382933.jpeg)

I have a Radeon R9 200 / HD 7900 and 12 GB of RAM, so that shouldn’t be the problem, right?

Any help is appreciated.
