限制编译线程数
公司配置的CPU很好,但是内存跟不上,报错说编译器堆空间不足,可以在
UnrealEngine\Engine\Saved\UnrealBuildTool目录下找到BuildConfiguration.xml文件,修改文件
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<ParallelExecutor>
<MaxProcessorCount>4</MaxProcessorCount>
</ParallelExecutor>
</Configuration>