W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 2005

Re: File size limitation question

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 12 Dec 2005 12:47:45 +0100 (MET)
To: Andrey Yakovenko <jigsaw_d@hived.info>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.64.0512121245430.22907@gnenaghyn.vaevn.se>

On Mon, 12 Dec 2005, Andrey Yakovenko wrote:

> As I found, maximum file size explicitly limited in Jigsaw (2.2.5a discussed).
> org.w3c.tools.resources.FileResource.java (line 343):
>     setValue(ATTR_FILE_LENGTH, new Integer((int)file.length()));
> Conversion from java's standard Long for file sizes to Integer is done.
> I wonder why, as this makes impossible for Jigsaw to handle files with
> size more than 2^32 bytes (4GB).
> In my case this is unacceptable...=(
> (I'm thinking about replacement all of that to Long, so it's important
> to know why it was done.)

It's on my top priority list, I plan to move to Long for 2.2.6 (there was 
no LongAttribute, hence the limitation in early version of Jigsaw, but 
it's time to move on and serve real big files).
I'll send an experimental jar for testing purposes soon.

Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Monday, 12 December 2005 11:48:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:39 UTC