Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 66107 invoked from network); 2 Mar 2011 15:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 15:01:06 -0000 Received: (qmail 11658 invoked by uid 500); 2 Mar 2011 15:01:06 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 11482 invoked by uid 500); 2 Mar 2011 15:01:03 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 11469 invoked by uid 99); 2 Mar 2011 15:01:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 15:01:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 15:00:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5525B4BE61 for ; Wed, 2 Mar 2011 15:00:38 +0000 (UTC) Date: Wed, 2 Mar 2011 15:00:38 +0000 (UTC) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Message-ID: <2141706603.7944.1299078038345.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1465268588.2312.1298916936866.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (OPENJPA-1953) Copying data from inputStream to OuputStream needs appropriate buffer size MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-1953: ---------------------------------- Fix Version/s: 2.2.0 Assigning to 2.2.0. > Copying data from inputStream to OuputStream needs appropriate buffer size > -------------------------------------------------------------------------- > > Key: OPENJPA-1953 > URL: https://issues.apache.org/jira/browse/OPENJPA-1953 > Project: OpenJPA > Issue Type: Bug > Components: lib > Affects Versions: 2.1.0 > Reporter: Xiaoming Shi > Fix For: 2.2.0 > > > In the file: > ./apache-openjpa-2.1.0-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ZipStreamMetaDataIterator.java line : 119 > The buffer size is fixed as 1024 bytes. With the size of the data varies, the performance can be damaged a lot. > We need an appropriate buffer size which depends on the size of the data to be copied. > This is the same as the Appache Bug (https://issues.apache.org/bugzilla/show_bug.cgi?id=32546) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira