@danager Looks like we are using the same softwares for music playback. I have been using Foobar2000 since June/July 2020. And I use Fidelizer Pro. I love the combination.
As for RAM Disk - I do not use it. But here is the thread you might want to check:
RAM Disk and Full File Buffering
I do not use RAM Disk. This thread helped me resolve the "gapless playback" on Foobar2000. Read the last post on that thread. It says:
The full file buffering only loads each file immediately before playing it, and then discards it when playback moves on to the next track. Full file buffering also does not work with the player in any way to support overlapped buffering, so the next track is only buffered ahead by virtue of the output device buffer. If buffering an entire track takes longer than the default of one second, it will underrun and there will be a gap.
If you have issues with gapless playback, do this:
Files -> Preferences -> Advanced -> Playback -> Buffering -> Full File Buffering and set it to 0.
Hope this helps.
To answer the last question - unload any softwares that you do not use/need. A dedicated Windows machine can be nice option for music playback.