FYI if you’re doing this MemoryPerActionBytes
hack on a machine with 16GiB or less of RAM: Visual Studio uses a lot of memory nominally, but it’s not actually using this memory—increasing Windows’ pagefile size makes this work far more reliably.
- Increase this by searching “Advanced System Settings” or going to
sysdm.cpl
> Advanced, then Performance > Settings > Advanced > Virtual Memory > Change > Paging Size For (C:) > Custom - You must click the button
Set
to apply the changes! - You do not actually need to reboot afterwards to apply the changes!