Add memory error handling