# Massive RAM usage on mostly empty level

**URL:** <https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791>\
**Category:** Blueprint\
**Tags:** memory-usage, unreal-engine, memory, Blueprint, question\
**Created:** [June 1, 2024, 10:28am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791 "2024-06-01T10:28:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrunkenDwarfGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/drunkendwarfgames/32/480849_2.png) [@DrunkenDwarfGames](https://forums.unrealengine.com/u/DrunkenDwarfGames)\
**Post date:** [June 1, 2024, 10:28am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/1 "2024-06-01T10:28:03Z")

</div>

Greetings!

I have noticed, that in my project the memory usage is quite high. I have a mostly empty level for boot up into the engine and the memory goes nearly to 10GB.

 ![Bild_2024-06-01_122739785](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/d/7ad1e7d39830566500264e7143ed56ee1ed58958.png)

I tried to reduce textures and reduce references but had only small impact on the main memory usage. So it must be something else.

Could it be a problem that i have some load issuses on startup?

 ![Bild_2024-06-01_122755789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/9/4a995ebca0f6477d42dc1ea527da97ab3fb24182.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 1, 2024, 10:47am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/2 "2024-06-01T10:47:32Z")

</div>

Right click on the level file in the content browser, and choose ‘size map’. It tells you what’s loading for the map 🙂

---

<div class="post-metadata">

**Author:** ![DrunkenDwarfGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/drunkendwarfgames/32/480849_2.png) [@DrunkenDwarfGames](https://forums.unrealengine.com/u/DrunkenDwarfGames)\
**Post date:** [June 1, 2024, 10:52am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/3 "2024-06-01T10:52:34Z")

</div>

Thanks for the really fast reply.

I did it and the map with all dependencys is 2 gb.

 ![Bild_2024-06-01_125156436](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/1/851acf9869d1a1a4f73f715feae6c846361f9e07.jpeg)

The problem is, that all maps has this memory problem. So it must be something else.

Did you have another idea?

---

<div class="post-metadata">

**Author:** ![GRIM\_Warlock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grim_warlock/32/642970_2.png) [@GRIM\_Warlock](https://forums.unrealengine.com/u/GRIM_Warlock)\
**Post date:** [June 1, 2024, 11:05am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/4 "2024-06-01T11:05:27Z")

</div>

Hey @DrunkenDwarfGames

Make sure to filter by memory instead of disk size  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/d/51d275ecfb88fc7981e04fa568e2a7da6bbb5d8b.png)

Also that’s not an “almost empty” map, there are a lot of dependencies there, even if they seem small.

The numbers shown in the Size Map menu are orientative, not an absolute number, it’s usually more. Specially if you have particles or anything doing real-time calculations in the editor.

Also check plugins you may have installed, things you have in constructors and automated actions happening on load.

You can try making a copy of the map and deleting everything to see if there’s something in your map that consumes a lot of RAM. If that’s the case add elements back one by one and see which one is consuming the most RAM.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 1, 2024, 11:06am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/5 "2024-06-01T11:06:42Z")

</div>

If you see stuff in there that shouldn’t be there, you have a dependency that needs to be broken.

I do see a very deep structure there, normally a map would be like

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/3/e136c6bf4de01fb671f392eabfcec7957e645e07.jpeg)

---

<div class="post-metadata">

**Author:** ![DrunkenDwarfGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/drunkendwarfgames/32/480849_2.png) [@DrunkenDwarfGames](https://forums.unrealengine.com/u/DrunkenDwarfGames)\
**Post date:** [June 1, 2024, 11:40am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/6 "2024-06-01T11:40:10Z")

</div>

Plugins and an really empty map would be a good idea. I will try it and let you know about that.

@ClockworkOcean Yes the deep structure is because of my function library. That spread all references all over the place, also if a blueprint just need a small function, it will load all of them.  
But does it even care if there are stuff that still be loaded? Like player or helperfunctions to get components from the player? But yes, that doesnt look very nice 😕

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 1, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/7 "2024-06-01T13:08:54Z")

</div>

What it means is, every time you open that map, ALL that stuff gets loaded into memory, whether you use it or not 🙂

---

<div class="post-metadata">

**Author:** ![DrunkenDwarfGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/drunkendwarfgames/32/480849_2.png) [@DrunkenDwarfGames](https://forums.unrealengine.com/u/DrunkenDwarfGames)\
**Post date:** [June 30, 2024, 8:18am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/8 "2024-06-30T08:18:31Z")

</div>

Hello, i want to give you feedback.

After a month of clearing depoendencys, i have reduced the connections massivly.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/4/1a430a13a95e74a8e1af907b999b22e3610d36fd.png)

But i still have up to **10 gb of memory** usage on the engine.

The Plugings dont make a huge difference if i deactivate them:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/d/04d46f0800aa5c992e944934f331b05a569d1248.png)

I also have a few question:

1. if i added an actor than i can set in the size map the dependencys to display. If i set on “game” than my dependencys looks NOW very very good. But if i show up “all” than i have up to 1.5 GB memory. Which setting should I focus on?

2. The first screenshot shows my empty map. Its now 6.2 MB. What can i now do to reduce my memory?  
I can’t imagine that it can still be due to the map.  
Do you have any other ideas?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 30, 2024, 8:26am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/9 "2024-06-30T08:26:36Z")

</div>

Very good 😃

This number shown in the editor

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/c/eac57d035a70d9643efe93cf5eb7f86621c8d079.png)

is just that, it’s the editor.

The editor will gradually fill up memory as you edit and audition different assets, and it won’t go down. It’s no reflection on your game.

A much better way of checking it out, would be to run the game in a standalone window, and take a look at the windows task manager 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 30, 2024, 8:27am UTC](https://forums.unrealengine.com/t/massive-ram-usage-on-mostly-empty-level/1883791/10 "2024-07-30T08:27:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
