Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 003CD200B30 for ; Mon, 20 Jun 2016 03:40:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2BC7160A64; Mon, 20 Jun 2016 01:40:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 459B8160A53 for ; Mon, 20 Jun 2016 03:40:06 +0200 (CEST) Received: (qmail 30483 invoked by uid 500); 20 Jun 2016 01:40:05 -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 30468 invoked by uid 99); 20 Jun 2016 01:40:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2016 01:40:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 37A482C1F60 for ; Mon, 20 Jun 2016 01:40:05 +0000 (UTC) Date: Mon, 20 Jun 2016 01:40:05 +0000 (UTC) From: "Colin Ma (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16054) OutOfMemory exception when use AsyncRpcClient with encryption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Jun 2016 01:40:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-16054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Ma updated HBASE-16054: ----------------------------- Attachment: HBASE-16054.002.patch > OutOfMemory exception when use AsyncRpcClient with encryption > ------------------------------------------------------------- > > Key: HBASE-16054 > URL: https://issues.apache.org/jira/browse/HBASE-16054 > Project: HBase > Issue Type: Bug > Reporter: Colin Ma > Assignee: Colin Ma > Attachments: HBASE-16054.001.patch, HBASE-16054.002.patch > > > Test the AsyncRpcClient with encryption in infinity loop, will get the OOM exception like the following: > io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 29106160 byte(s) of direct memory (used: 2607219760, max: 2609905664) > at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:592) > at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:546) > at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:699) > at io.netty.buffer.PoolArena$DirectArena.newUnpooledChunk(PoolArena.java:695) > at io.netty.buffer.PoolArena.allocateHuge(PoolArena.java:246) > at io.netty.buffer.PoolArena.allocate(PoolArena.java:224) > at io.netty.buffer.PoolArena.allocate(PoolArena.java:141) > at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:262) > at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179) > at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:170) > at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:107) > at org.apache.hadoop.hbase.security.SaslClientHandler.write(SaslClientHandler.java:328) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:724) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:716) > at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:36) > at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1064) > at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1111) > at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1049) > at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:393) > at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742) > at java.lang.Thread.run(Thread.java:745) -- This message was sent by Atlassian JIRA (v6.3.4#6332)