Bug 984033 - Large OOM in nsStreamLoader::WriteSegmentFun. r=honza