catch all out of memory errors in callers