Hi,
thank you for the fast reply. I've created a bug report on Jira.
http://jira.xwiki.org/browse/XE-1557
Best Regards
Bernhard
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Donnerstag, 2. Juni 2016 11:20
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Upload of files >2GB fails
Seems to me one of the problems is that the file size is stored in the DB as an int for
which max value is 2147483647 (and there is probably other related issues in the upload
and storage process).
I don't understand how you can have the file size displayed correctly in that case by
the way.
You should create an issue about that on
http://jira.xwiki.org/ with steps to reproduce
it.
On Thu, Jun 2, 2016 at 11:00 AM, <bernhard.kresina(a)magna.com> wrote:
Hello,
I've run into a problem with uploading files to my XWiki.
I am running XWiki v8.0 on a CentOS 7 server, using a Java 8 64bit JVM and the jetty
servlet container.
The database resides on a MS-SQL 2008 R2 server.
The following options are set on my installation:
start_xwiki.sh:
XWIKI_OPTS="-Xmx2048m -XX:MaxPermSize=2048m"
MaxPermSize is ignored by Java 8
xwiki.cfg:
xwiki.store.attachment.hint=file
xwiki.store.attachment.versioning.hint=file
xwiki.store.attachment.recyclebin.hint=file
XWiki Preferences:
Maximum Upload Size = 4294967296
If I upload a file via the browser, the actual size of the file is shown correct, but
after the upload has finished, the file size is shown incorrectly as -[random_number].
Downloading the same file, results in getting a defective file, truncated at 2Gb in
size.
The log reports no errors.
I've tried uploading the same file via the WebDAV extension, which gets me a Java
Out-of-Memory-Exception, resulting in a 0 byte file on the server.
Do you have any other ideas on how to get files bigger than 2GB uploaded to the wiki?
Best Regards
Bernhard
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users