Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Lightmass ran out of memory - how to fix it?

Hi there,

I searched the answerhub already and I found a question with the exact same problem but no one answered it: https://answers.unrealengine.com/questions/814644/light-mass-crashed-how-to-fix-it.html?fbclid=IwAR2Y28RUNpM9BfCtGVjO8N9QBYw-NYgdduNlCzoNCMDyDvNrcZHSaUlY7Xk

I also have the fatal Error in Line 193 and Line 1356.

My scene is big and I already could build the lighting but after I added the grass, it just won't build the lighting... I have 64gb RAM so I hope I can fix it without adding more...

My Specs are:

  • Intel(R) Xeon(R) CPU E5-2687W0 @ 3.10GHz (16CPUs), ~3.1GHz

  • 64GB RAM

  • 64GB Virtual RAM

Can anybody help me?alt text

Product Version: UE 4.20
more ▼

asked Jan 16 '19 at 01:24 PM in Using UE4

avatar image

1 1

avatar image janbro5 Jan 17 '19 at 12:57 PM

Anyone who can help?

avatar image Jacky Jan 17 '19 at 01:15 PM

How large is your level and what is the lightmap resolution of those grasses? I'm guessing you also have a landscape, have you increased the lightmap res.(Static Lighting Resolution) for it?

avatar image janbro5 Jan 17 '19 at 10:11 PM

Thank you for replying. Here's a screenshot of my scene. The LMR of the grass is 16. I can't go lower otherwise it would look like crap. It already doesn't look very nice but it's the lowest I can go. The static lighting resolution of the landscape is currently set as default 1,0. would it be a solution to take dynamic lighting instead of static lighting?alt text

and a closer look at one of the gardens with the grass:alt text

thank you!

screenshot-02.jpg (255.6 kB)
avatar image Jacky Jan 17 '19 at 10:33 PM

The map is pretty big and with that foliage it is possible that you are actually running out of RAM. Before switching to dynamic lighting try this; scale the lightmass importance volume down until it covers the buildings only(the area users are supposed to walk around or see from up close) If that works for your computer and purposes then great! If not you may have to use movable directional light and skylight. Dont forget to enable Force NoPrecomputed Lighting in World Settings > Lightmass and then rebuild the lights afterwards(it is going to be a quick build to get rid of any existing lightmap)

If you are planning to make interior walkthrough as well you can get the buildings in separate, smaller levels and build lighting for each of them separately.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question