Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 65371 invoked from network); 4 Oct 2006 14:28:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 14:28:26 -0000 Received: (qmail 54744 invoked by uid 500); 4 Oct 2006 14:28:20 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 54667 invoked by uid 500); 4 Oct 2006 14:28:19 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 54649 invoked by uid 99); 4 Oct 2006 14:28:19 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 07:28:19 -0700 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=MAILTO_TO_SPAM_ADDR Received: from [64.6.226.3] ([64.6.226.3:44306] helo=geulph.frogspace.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id D2/B6-00170-2F4C3254 for ; Wed, 04 Oct 2006 07:28:03 -0700 Received: from impactsci.com ([66.180.108.83] helo=[127.0.0.1]) by geulph.frogspace.net with esmtp (Exim 4.44) id 1GV7hT-0007A3-4r for commons-user@jakarta.apache.org; Wed, 04 Oct 2006 07:26:19 -0700 Message-ID: <4523C489.1080007@serff.net> Date: Wed, 04 Oct 2006 08:26:17 -0600 From: Andrew MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [fielupload] how much big size file can be handled? References: <2ED602334F87F94CB1CA268F9608C19402D6E8F4@moonraker.campus.ncl.ac.uk> In-Reply-To: <2ED602334F87F94CB1CA268F9608C19402D6E8F4@moonraker.campus.ncl.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 66.180.108.83 X-SA-Exim-Mail-From: lists@serff.net X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This confuses me. Why would the VM or the OS matter when streaming a file? Are you trying to stick the entire file into memory? I'm not having any problem now that I am using the 1.2 nightly build. I uploaded a 5GB file yesterday and it worked fine for me. I'm running on RedHat on a 64 bit platform though, but still...I don't get why that should matter when all you are doing is reading bytes from one stream and writing them to another in small (<2GB) chunks. Am I missing something here? Andrew Arijit Mukherjee wrote: > Leena > > Can you please post your code? I wasn't able to find the > FileItemIterator in commons-upload-1.1.1 library, but could find it in > the nightly builds. > > Anyways, I might just have found out reason for the 2GB problem - it > probably has something to do with the underlying O/S and the JRE. If the > O/S kernel supports 64 bit addressing, then a 2GB limit isn't in the > O/S. But you would need the JRE compatible with the 64 bit system to > make it work. Otherwise, you have this (2^31-1) limit, which is 2GB. > > Regards > Arijit > > >> -----Original Message----- >> From: Leena Kulkarni [mailto:leenakulkarni2003@yahoo.com] >> Sent: 04 October 2006 08:29 >> To: Jakarta Commons Users List >> Subject: Re: [fielupload] how much big size file can be handled? >> >> Actually we are facing problems for much less size files than >> you all mentioned here. Its taking too long for 35MB files only.. >> >> Arijit, we are using same code like yours but we get items as >> empty at around 60MB file. >> >> 1. Is there anything wrong that we are doing? >> 2. We tried the streaming API, FileItemIterator is not >> available in the jar. >> >> Any help? >> >> Regards, >> Leena >> --- Martin Cooper wrote: >> >> >>> On 10/3/06, Jochen Wiedmann >>> wrote: >>> >>>> On 10/3/06, Martin Cooper >>>> >>> wrote: >>> >>>>>> Also, it looks like UnknownSizeException has >>>>>> >>> been deprecated because >>> >>>> it >>>> >>>>>> doesn't exist in the latest release. >>>>>> >>>>> It is not deprecated and should not have been >>>>> >>> removed. It seems that it >>> >>>> was >>>> >>>>> removed by Jochen (cc'd) when he merged in his >>>>> >>> streaming changes. He >>> >>>> needs >>>> >>>>> to put it back, though, since it is part of the >>>>> >>> 1.x public API. >>> >>>>> Note that UnknownSizeException is still part of >>>>> >>> the latest official >>> >>>> release >>>> >>>>> (1.1.1). It it not in the nightly builds, >>>>> >>> however. >>> >>>> Yes, I removed it. But what good does the >>>> >>> exception, if there's no >>> >>>> code that throws it? >>>> >>> The fact is that throwing that exception when the request is >>> >> too large >> >>> is part of the FileUpload 1.x API contract. With your changes, that >>> contract is now broken. If the next release of FileUpload is >>> >> going to >> >>> be a 1.x release, the contract must be honoured. Otherwise, the >>> current code in trunk must be considered part of a 2.0 release. >>> >>> -- >>> Martin Cooper >>> >>> >>> Jochen >>> >>>> -- >>>> My wife Mary and I have been married for >>>> >>> forty-seven years and not >>> >>>> once have we had an argument serious enough to >>>> >>> consider divorce; >>> >>>> murder, yes, but divorce, never. >>>> (Jack Benny) >>>> >>>> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection >> around http://mail.yahoo.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: commons-user-help@jakarta.apache.org >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org