With so much RAM I would simply disable the swap-file completely and see if that solves the problem.
Same basic setup here and with only 2G Ram, I permanently run with no swap-file and no complaints from Studio so far