Hi. After this problem has bitten me again today, I've just made a team upload to fix it, using the last patch I posted (the one which carefully calculates number of CPUs to be used from available RAM).
I've used 10000 MB / CPU as a threshold, based on my own measurements, but of course we could lower that later if it proves not to be enough. Thanks.