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

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:

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

I found a workaround for the issue :slight_smile:

By commenting out line 195 to 199 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 :wink: