Hi Louis
On 22 Oct 2015 at 23:14:05, Louis Höfler
(louis.hoefler@mathematek.de(mailto:louis.hoefler@mathematek.de)) wrote:
That perfectly solves my problem.
As a point of interest,
would it be possible to store big files within mysql too,
or is this just impossible?
It’s possible with very large memory settings. There are several reasons why it takes a
lot of memory but one reason is that AFAIR mysql doesn’t have a streaming api for blobs
and thus the whole attachments needs to be fully in memory. In addition our code does
manipulation of the attachment in memory, requiring even more memory. At some point we
computed the memory required and it was like 27 times or so the size of the attachment but
we improved it and I don’t know what’s the requirement now (would be interesting to find
out).
If you’re interested by details
*
http://jira.xwiki.org/browse/XWIKI-8910
*
http://jira.xwiki.org/browse/XWIKI-11209
*
http://jira.xwiki.org/browse/XWIKI-10611
*
http://jira.xwiki.org/browse/XWIKI-8189
Thanks
-Vincent
Thank you, Louis
Am 22.10.2015 um 22:47 schrieb vincent(a)massol.net:
Hi Louis,
Please check
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments and
let us know if it solves your problems (hint: configure xwiki to use
filesystem if you wish to store large attachments).
Thanks
-Vincent
On 22 Oct 2015 at 22:42:33, Louis Höfler (louis.hoefler(a)mathematek.de
) wrote:
> Hello Everyone,
> i currently try to upload big files as attachment.
>
> I run mysql 5 with xwiki within tomcat 8 on debian.
>
> However, if i upload the File (700mb) it stops after 100%,
> showing an error "There was an error uploading your file".
>
> Can someone help me fixing that error?
>
> Thank you, Louis
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users