# Extreme Memory Usage when Play In Editor with World Partition and Level Instances 

**URL:** <https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [September 30, 2025, 12:17am UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621 "2025-09-30T00:17:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 30, 2025, 12:17am UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/1 "2025-09-30T00:17:13Z")

</div>

Hello!

I’ve recently come across case where the editor in PIE will consume extreme amount of memory. We had a case recently where some level instances were converted from using ISMs to individual actors. We noticed that suddenly PIE would take up extremely large amounts of ram. This caused the editor to become unresponsive on dev machines with lower amounts of ram installed. This is an editor only problem, as the code only seems to be active in editor builds, and no issues have been experienced in a cooked client build. It appears to stem from line 728 in `WorldPartitionLevelHelper.cpp`, specifically the use of `FLinkerInstancingContext::DuplicateContext`.

I’ve added a screenshot of a memory profile capture in Insights of the attached repro project.

I also found that if a level instance level does not have world partition streaming support, there is no memory consumption.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 30, 2025, 12:17am UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/2 "2025-09-30T00:17:16Z")

</div>

**Steps to Reproduce**

1. Create a level, named L\_TestA with a large number of static mesh actors, any mesh will do (5000 - 15000 individual static mesh actors)
2. In the Content Browser, select the level L\_TestA and Add Partition Streaming support to it
3. Create a new level, named L\_TestB, and add several of the L\_TestA levels to it as level instances. Also add partition streaming to this level as well.
4. Create a new world partitioned level, add a basic landscape, and add one or more L\_TestB to it as level instances
5. Play In Editor, and notice long load time and massive memory usage

In the attached repro project, just open the project and the level L\_BugRepro if doesn’t load by default, and then run PIE to see the bug.

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [September 30, 2025, 6:29pm UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/3 "2025-09-30T18:29:26Z")

</div>

Hi Mark,

This is a known problem that is still being worked on by the team. You can follow its evolution on the public bug tracker: [Unreal Engine Issues and Bug Tracker (UE\-222013)](https://issues.unrealengine.com/issue/UE%5C-222013)

Regards,

Martin

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [October 1, 2025, 9:06pm UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/4 "2025-10-01T21:06:20Z")

</div>

You do want to use ISMs to help with the runtime performances. You can use the UWorldPartitionRuntimeCellTransformerISM to have the ISMs created automatically when the cell generation runs (PIE and Cook).

There is also FastGeo that should be considered here. It it also based on a cell transformer that converts immutable static geometry into a lighter runtime format that doesn’t depend on UObject. You get get more information about the plugin in the World Building Guide: [https://dev.epicgames.com/community/learning/knowledge\-base/r6wl/unreal\-engine\-world\-building\-guide\#wp\-importantchangesin56](https://dev.epicgames.com/community/learning/knowledge%5C-base/r6wl/unreal%5C-engine%5C-world%5C-building%5C-guide%5C#wp%5C-importantchangesin56)

Martin

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [October 7, 2025, 6:19pm UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/5 "2025-10-07T18:19:58Z")

</div>

Yes and no, The instances that are aggregated would only have 1 actor per StaticMesh which should reduce the number of required LinkerContext

Also, using LevelInstance without OFPA should help. If your LIs contains lots of actors or are large, you could consider [Sub-word partition](https://dev.epicgames.com/community/learning/knowledge-base/r6wl/unreal-engine-world-building-guide#wp-importantchangesin54). Those don’t allow for per instance modification out of the box but could be useful depending on the needs of the project.

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [October 8, 2025, 1:16pm UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/6 "2025-10-08T13:16:41Z")

</div>

Yes, you can do it from the World Settings panel. You need to disable ‘Use External Actors’ and save the level. If the level uses World Partition, it needs to be disabled as a first step.

[Image Removed][Image Removed]

Regards,

Martin

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 30, 2025, 6:52pm UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/7 "2025-09-30T18:52:49Z")

</div>

Is there a recommended workaround or mitigation? Is it to just keep everything in ISMs or use level instances that don’t have OFPA support?

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 1, 2025, 9:53pm UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/8 "2025-10-01T21:53:20Z")

</div>

In those cases, it won’t try to duplicate that linker context when trying to play in editor?

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 8, 2025, 12:08am UTC](https://forums.unrealengine.com/t/extreme-memory-usage-when-play-in-editor-with-world-partition-and-level-instances/2672621/9 "2025-10-08T00:08:06Z")

</div>

Is it possible to convert an existing level asset with OFPA to one without OFPA?
