Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 18770 invoked from network); 8 Sep 2006 05:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Sep 2006 05:26:58 -0000 Received: (qmail 82815 invoked by uid 500); 8 Sep 2006 05:26:58 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 82594 invoked by uid 500); 8 Sep 2006 05:26:57 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 82583 invoked by uid 99); 8 Sep 2006 05:26:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 22:26:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 22:26:56 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FCDD7142E7 for ; Fri, 8 Sep 2006 05:23:23 +0000 (GMT) Message-ID: <10794559.1157693003324.JavaMail.jira@brutus> Date: Thu, 7 Sep 2006 22:23:23 -0700 (PDT) From: "Trustin Lee (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-731) Streaming big objects In-Reply-To: <28637746.1157609062394.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-731?page=all ] Trustin Lee updated DIRSERVER-731: ---------------------------------- Summary: Streaming big objects (was: Streming big objects) > Streaming big objects > --------------------- > > Key: DIRSERVER-731 > URL: http://issues.apache.org/jira/browse/DIRSERVER-731 > Project: Directory ApacheDS > Issue Type: Improvement > Reporter: Emmanuel Lecharny > Priority: Critical > > We really need to implement a streming of big objects, like JpegPhoto, otherwise the server can be killed trying to manage them. > The problem is that they are stored entirely in memory, and this is not an option for megabytes of data in a JVM. We should find a way to work with MINA to send bytes on the fly (for instance by packets of 8kb). The very same when we receive huge data : we should store them somwhere on the disk instead of creating a byte[] large enough to store the data. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira