openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (OPENJPA-1953) Copying data from inputStream to OuputStream needs appropriate buffer size
Date Fri, 18 Mar 2011 17:44:30 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Curtis reassigned OPENJPA-1953:
------------------------------------

    Assignee: Rick Curtis

> 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
>            Assignee: Rick Curtis
>             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

Mime
View raw message