This bug no longer exists as of 21w10a.
I've assigned up to 12GB of RAM and it still occurs.
Just did it
Wow, I'm so blind!
I have included my options.txt file
This bug no longer exists as of 21w10a.