We have found a limit in XMLUI of ~2 GB. See 
https://github.com/VTUL/vtechworks/issues/91#issuecomment-156161642.

I have tracked down the problem downloading large files. The web browsers 
request partial ranges of the files with HTTP headers like this:
Range: bytes=2238906368-
The DSpace XMLUI is based on Cocoon. Cocoon's Byte Range handler has code 
that tries to parse each number in the byte range as an integer.
In Java, the maximum size of a signed integer is 2,147,483,647, which is 
less than 2238906368. This throws a NumberFormatException back to DSpace, 
which returns a 416 HTTP Status code to the browser:
HTTP/1.1 416 Requested Range Not Satisfiable

The browser doesn't get the file.

I don't know yet what the best workaround is - I'm not sure that Cocoon is 
an active project, and the DSpace community is looking to move away from 
Cocoon (I've heard) with its next interface system.

On Wednesday, March 17, 2021 at 4:13:45 AM UTC-4 Manuele Lorusso wrote:

> Hi,
>
> this setting is only for JSPUI. As far as I know there is no size limit in 
> XMLUI.
>
> Regards,
> Manuele
>
> Am Dienstag, den 16.03.2021, 19:09 -0700 schrieb Saul Hernandez O.:
>
> That size of 512 Mb applies to the entire dspace or only to jspui?
>
> thank you!
>
>
> El martes, 16 de marzo de 2021 a la(s) 19:21:34 UTC-6, [email protected] 
> escribió:
>
> Hi,
>
>
> https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace/config/dspace.cfg#L1571
>
> Em ter, 16 de mar de 2021 22:10, Saul Hernandez O. <[email protected]> 
> escreveu:
>
> Hello everyone! 
> I am investigating what is the maximum file size
> that dspace accepts  in xmlui
>
> Thank you!
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/29f434c8-1934-49e4-be81-fe1c597818a6n%40googlegroups.com.

Reply via email to