5.3. Can only recompile via live coding if Visual Studio is closed

New to Unreal. Using UE 5.3.0 and Visual Studio 2022. Been figuring out the live coding, and in order to compile changes made in VS I have to close it entirely. If not I get

c1xx: error C3859: Failed to create virtual memory for PCH
c1xx: note: the system returned code 1455: The paging file is too small for this operation to complete.
c1xx: note: please visit Precompiled Header (PCH) issues and recommendations - C++ Team Blog for more details
c1xx: fatal error C1076: compiler limit: internal heap limit reached

for every file I’ve touched and the build fails. Is this expected behavior? Is there a workaround?

Generally speaking, avoid live coding. While it is a neat feature it’s best suited for very small tweaks/iterations and even then, depending on what you’re changing, you run the risk of getting weird behavior…like this. It’s best to get into the habit of bringing the editor up and down after compiling.

yeah relaunching editor seemed like a hassle but running into problem after problem with live coding has proven to be worse I think.

i don’t know about C3859, but generaly with livecoding:

  • you cannot change structure of your class or members signatures: you can’t add\remove variables or add new functions or modify their arguments list or return values;
  • you can change the content of existing functions in any way;
    • maybe you may do a bit more that this, but i’m not aware about it.

So, just as said above, it’s a nice tool for quick iteration of small parts of logic, but for major changes you still have to restart editor

you can change the content of existing functions in any way

would hot building work the same in these instances?