Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF81C10964 for ; Wed, 18 Dec 2013 12:11:18 +0000 (UTC) Received: (qmail 61084 invoked by uid 500); 18 Dec 2013 12:11:16 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 61019 invoked by uid 500); 18 Dec 2013 12:11:10 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 60996 invoked by uid 99); 18 Dec 2013 12:11:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Dec 2013 12:11:08 +0000 Date: Wed, 18 Dec 2013 12:11:08 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCORE-368) Smarter use of buffers in SSLIOSession 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/HTTPCORE-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851633#comment-13851633 ] Oleg Kalnichevski commented on HTTPCORE-368: -------------------------------------------- I think this is as good as it gets. I'll probably tweak things a little but overall everything looks sane to me. I'll be able to commit the patch only after releasing 4.3.1 and branching out stable 4.3.x branch, though. This may take a week or two, depending on how painful 4.3.1 turns out to be. Oleg > Smarter use of buffers in SSLIOSession > -------------------------------------- > > Key: HTTPCORE-368 > URL: https://issues.apache.org/jira/browse/HTTPCORE-368 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: HttpCore NIO > Affects Versions: 4.3 > Reporter: offbynull > Labels: patch > Fix For: 4.4 > > Attachments: SSLIOSession.patch, SSLIOSession3.patch, SSLIOSession4.patch > > > We're using the async client to load test our comet infrastructure. We're frequently running in to OutOfMemoryErrors due to the ByteBuffers allocated in SSLIOSession. > The following is a quick-and-dirty patch to SSLIOSession that removes the buffers when they aren't needed. Could we get this (or something similar to this) added in to httpcore-nio? -- This message was sent by Atlassian JIRA (v6.1.4#6159) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org