Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2BB3C10620 for ; Tue, 17 Mar 2015 22:05:40 +0000 (UTC) Received: (qmail 53575 invoked by uid 500); 17 Mar 2015 22:05:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 53539 invoked by uid 500); 17 Mar 2015 22:05:40 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 53527 invoked by uid 99); 17 Mar 2015 22:05:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 22:05:39 +0000 Date: Tue, 17 Mar 2015 22:05:39 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13269) Remove result array preallocation to avoid OOME with large scan caching values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-13269: ----------------------------------- Summary: Remove result array preallocation to avoid OOME with large scan caching values (was: Limit result array preallocation to avoid OOME with large scan caching values) > Remove result array preallocation to avoid OOME with large scan caching values > ------------------------------------------------------------------------------ > > Key: HBASE-13269 > URL: https://issues.apache.org/jira/browse/HBASE-13269 > Project: HBase > Issue Type: Bug > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Fix For: 1.0.1, 0.98.12 > > > Scan#setCaching(Integer.MAX_VALUE) will likely terminate the regionserver with an OOME due to preallocation of the result array according to this parameter. We should limit the preallocation to some sane value. Definitely affects 0.98 (fix needed to HRegionServer) and 1.0.x (fix needed to RsRPCServices), not sure about later versions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)