OOM is thrown if memory is not allocated.
Merge remote-tracking branch 'origin/1.7.8' into 1.7.8