HIVE-4157: ORC runs out of heap when writing (Kevin Wilfong vi Gang Tim Liu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1462363 13f79535-47bb-0310-9956-ffa450edef68