"compiler limit: internal heap limit reached"

I just upgraded to a 12 core Ryzen 9 and it seems like Unreal is losing it’s marbles trying to compile with 24 processes all at the same time. But it’s running out of heap space when it tries as I’m still using 16GB of RAM.

Is there any way to limit the number of compiler threads?

1>c1xx : error C3859: Failed to create virtual memory for PCH
1> c1xx: note: the system returned code 1455: The paging file is too small for this operation to complete.
1>
1>
1> c1xx: note: please visit https://aka.ms/pch-help for more details

Create a BuildConfiguration.xml file…

https://docs.unrealengine.com/en-US/…ion/index.html

…with something like this:


[FONT=Courier New]<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
  <BuildConfiguration>
  </BuildConfiguration>
  <LocalExecutor>
    <MaxProcessorCount>12</MaxProcessorCount>
  </LocalExecutor>
  <ParallelExecutor>
    <MaxProcessorCount>12</MaxProcessorCount>
  </ParallelExecutor>
</Configuration>

4 Likes

Thank you! This sorted it out.

This solve my problem too.Thank you GBX_botman~

also, make your windows page file larger

1 Like

This is ridiculous. I don’t have these issues with 5.2.1 for source build. But 5.3.1 I am facing this issue

Update : It worked like a charm