changed mem from 512 to 1024MB