C++ PCH heap memory limit error (UE4)

If you’re getting the dreaded “compiler limit: internal heap limit reached” and the corresponding “Failed to create virtual memory for PCH” then you can use the /ZmXXXX switch to increase the heap memory allocated to precompiled header (PCH) compilation. Luckily, it’s very easy to do in UE4, just put this …in your target.cs: WindowsPlatform.PCHMemoryAllocationFactor = […]

Read More


210 million vertices worth of army. Custom rendering + collision + navigation + multiplayer in #UE4twitter.com/i/web/status/1…
Fast unit selection on the GPU. Base pass writes unit id/color to custom G-buffer MRT, compute shader stream-compac… twitter.com/i/web/status/1…
Working on a 3D UI, got small "react" animations for when units receive an order. #UE4 #screenshotsaturday #gamedev pic.twitter.com/pipZ7sxVXo