It has happened to me many times that I have to start again a part of the work done because the
progremma phprunner ver, 10.x (I have 10.4) I was crashing and had to kill through the task manager.
Obviously in this way I lost all the work done up to then and had to start over.
I found several discussions on similar problems and after much testing the solution was to disable the
memory compression function enabled by windows 10 system.
Disabling the function is very simple:
Enter powerShell windows with administrator privileges and run the command: Disable-MMAgent -mc
Restart the system for the changes to take effect.
Since then no further memory crashes.
If there should be other problems due to the modification to re-enable the memory compression always launch from PowerShell
with administrator privileges the command to enable: Enable-MMAgent -mc.