Lowered max memory usage to 1024MB