Bug 978047 -- check for OOM r=h4writer
Automatic merge