improved out of memory