I have this done with Softperfekt RAMDisk on Win10/64. The Ramdisk must be able to Save and Restore its Content. And it must be able to hold the same Driveletter. So i have no Problem to create a 8GB ramdrive. Activate the save at shutdown and restore at startup of my PC. After this i install the fpc/Lazarus with fpcupdeluxe on this drive. It is very fast, if yoz recompile fpc or lazarus
ANd if you make a great mistake, you can make it fast undone, by reloading the ramdisk without saving. I use it, if i make experiments with fpc or lazarus or both.
BTW: My system have 32 GB Ram, so i have no Problem with a 8GB drive