Added Linux condition and changed fallback half of RAM to 256M.