Hi Caleb, hello xwiki users,
First: thank you for your information, so by default it loads up to 10 MB and it may load
up to 30 MB. Therefore a parameter of the xwikipreferences "root object" must
be changed. How can I set the value of the parameter? Under XWiki-Administration there is
no "edit object" available. Generally I can run the machine with as much ram as
needed, this would not be an issue.
Second: If I cannot load larger files the 30 MB, is there any chance to include external
ebooks into the lucene search (index)? This is an important issue, if I cannot upload the
ebooks to xwiki.
Best regards
Pierre
________________________________________
Von: Caleb James DeLisle [calebdelisle(a)lavabit.com]
Gesendet: Dienstag, 14. September 2010 08:43
An: XWiki Users
Betreff: Re: [xwiki-users] Uploading larger files
The problem is memory expense. When you upload an attachment, it is
put into RAM, then it's saved in the database, but before the save
is committed, the content is copied and converted to a base64 String
(expanding it by 30% for the base64 then doubling it because java
uses UTF-16 for String) then it is formed into an RCS archive node
using Apache jrcs which makes a copy of the content (also in ram).
The result is you need memory capacity which is many times the size
of the attachment.
The short answer is although we are looking at ways to improve
memory footprint, currently the effective limit is about 30MB.
Caleb
Dalluege, Pierre (extern) wrote:
Hello xwiki users,
I have to upload larger files (i.e. ebooks (above 100MB) or images of 80MB) and at the
moment the upload fails.
I increased the size of mysql packages to 512 MB, but it didn't help, any ideas?
Best regards
Pierre
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users