Merge "Check and log a to-space overflow explicitly."