Fix not enough RAM issues