HBASE-10500 Some tools OOM when BucketCache is enabled

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.96@1567689 13f79535-47bb-0310-9956-ffa450edef68