Hello,
This had been asked several times however after extensive search there is still no real answer that would make sense or a formula that I was able to follow to assign memory - sometime it work and sometimes doesn't (guessing!)
up to 48GB works fine after adding this workaround "options...