# PCG Biome Core - The number of iterations produced is larger than available memory

**URL:** <https://forums.unrealengine.com/t/pcg-biome-core-the-number-of-iterations-produced-is-larger-than-available-memory/2460466>\
**Category:** World Creation\
**Tags:** Procedural-Generation, unreal-engine, question\
**Created:** [April 16, 2025, 11:36pm UTC](https://forums.unrealengine.com/t/pcg-biome-core-the-number-of-iterations-produced-is-larger-than-available-memory/2460466 "2025-04-16T23:36:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PinnaRandolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pinnarandolf/32/603663_2.png) [@PinnaRandolf](https://forums.unrealengine.com/u/PinnaRandolf)\
**Post date:** [April 16, 2025, 11:36pm UTC](https://forums.unrealengine.com/t/pcg-biome-core-the-number-of-iterations-produced-is-larger-than-available-memory/2460466/1 "2025-04-16T23:36:56Z")

</div>

I am trying to use PCG Biome Core on a large landscape.

When clicking on “Generate” on my BP\_BiomeCore blueprint, i get following error:

> LogPCG: Error: [BP\_BiomeCore\_C\_1 - CreatePointsGrid\_0]: The number of iterations produced is larger than available memory.

and

> LogPCG: Error: [BP\_BiomeCore\_C\_1 - AttributeMathsOp\_24 (Add)]: Attribute/Property ‘Distance’ from pin InB does not exist

I figured that I could set “Is Partitioned” to true and use smaller chunks.  
But this is what I get when creating the chunks:

 ![Screenshot 2025-04-17 012259](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/f/bdf719e3cfc7abbe1238702569baccfae1509da6.png)

Does anyone have an idea how to fix or workaround this issue?  
It would be interesting to know where to set the max memory PCG can use.  
I can throw TBs of RAM/Pagefile at the issue.  
I can recompile Unreal Engine from Source, that’s not a problem.

Used UE Version: 5.5.4

---

<div class="post-metadata">

**Author:** ![PinnaRandolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pinnarandolf/32/603663_2.png) [@PinnaRandolf](https://forums.unrealengine.com/u/PinnaRandolf)\
**Post date:** [April 23, 2025, 7:21am UTC](https://forums.unrealengine.com/t/pcg-biome-core-the-number-of-iterations-produced-is-larger-than-available-memory/2460466/2 "2025-04-23T07:21:04Z")

</div>

I found a workaround for the issue 🙂

By commenting out line 195 to 199 (in UE 5.6 it’s line 209 to 213) in the Source Code of

> Engine\Plugins\PCG\Source\PCG\Private\Elements\PCGCreatePointsGrid.cpp

and recompiling the Engine i was able to tell the Engine to skip the check for Physical RAM and use as much as there is avalable + Pagefile.

Caution: obviously by using the Pagefile instead of RAM the process becomes very slow.

Feature request: A checkbox in the PCG Plugin settings for “experimentally ignore memory restrictions” and set the code in line 195 to 199 to not execute if checkbox is set to true.  
So there would be no need to recompile the Engine 😉

---

<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:** [May 23, 2025, 7:21am UTC](https://forums.unrealengine.com/t/pcg-biome-core-the-number-of-iterations-produced-is-larger-than-available-memory/2460466/3 "2025-05-23T07:21:23Z")

</div>

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