[xwiki-users] Attachment sizes
Hi again, As you might be able to tell, we are trying out xwiki and on a learning curve. We hit the 10mb upload restriction and would like to increase it. We are using the windows-installer version of xwiki, 2.5.1. I tried to follow the instructions here: http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsiz... But have absolutely no clue what you are talking about. I've gone to the Administration page in the xwiki but don't see anything that refers to "Objects" Could someone please post a screenshot or something? thanks Paul
The first thing I should tell you is with the windows installer, all of the wiki is kept in ram so you adding large attachments will soon put you in a position of being unable to load the wiki and exporting (to move to a .war with a "real" database) will become very difficult. That said, the page you want is http://yourwi.ki/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object Expand the section called "XWikiPreferences 1" and you should find the setting you are looking for. In a postgres database with 1024MB of ram, you will still find a limit around 50MB, something we are working to change. Caleb On 11/11/2010 12:32 AM, Paul Harris wrote:
Hi again,
As you might be able to tell, we are trying out xwiki and on a learning curve.
We hit the 10mb upload restriction and would like to increase it. We are using the windows-installer version of xwiki, 2.5.1.
I tried to follow the instructions here: http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsiz...
But have absolutely no clue what you are talking about. I've gone to the Administration page in the xwiki but don't see anything that refers to "Objects"
Could someone please post a screenshot or something?
thanks Paul _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 11 November 2010 13:51, Caleb James DeLisle <[email protected]>wrote:
The first thing I should tell you is with the windows installer, all of the wiki is kept in ram so you adding large attachments will soon put you in a position of being unable to load the wiki and exporting (to move to a .war with a "real" database) will become very difficult.
So you are saying, if I can't run the wiki, I won't be able to export it and thus can't move the server to a new platform? I assume, that once its running in a "real" database, I will not need to "export" it, but instead I can just use the normal database backup/restore.... right?
That said, the page you want is http://yourwi.ki/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object Expand the section called "XWikiPreferences 1" and you should find the setting you are looking for.
ok got it, seems to be 33mb limit.
In a postgres database with 1024MB of ram, you will still find a limit around 50MB, something we are working to change.
ouch, how can that be? thats nothing, I know people who want to upload multi-gigabyte files (rather than posting them on a DVD via snail mail). I wrote a little C++ cgi app with libcurl, and that uses a streaming technique so the data is streamed out to the http client, so it doesn't require any more ram than to load the index of files. Can't you do something similar in Java? Don't load the file off the harddisk, instead stream it from the harddisk/database.
On 11/11/2010 01:05 AM, Paul Harris wrote:
On 11 November 2010 13:51, Caleb James DeLisle <[email protected]>wrote:
The first thing I should tell you is with the windows installer, all of the wiki is kept in ram so you adding large attachments will soon put you in a position of being unable to load the wiki and exporting (to move to a .war with a "real" database) will become very difficult.
So you are saying, if I can't run the wiki, I won't be able to export it and thus can't move the server to a new platform?
I assume, that once its running in a "real" database, I will not need to "export" it, but instead I can just use the normal database backup/restore.... right?
That is the common practice. Caleb
That said, the page you want is http://yourwi.ki/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object Expand the section called "XWikiPreferences 1" and you should find the setting you are looking for.
ok got it, seems to be 33mb limit.
In a postgres database with 1024MB of ram, you will still find a limit around 50MB, something we are working to change.
ouch, how can that be? thats nothing, I know people who want to upload multi-gigabyte files (rather than posting them on a DVD via snail mail).
I wrote a little C++ cgi app with libcurl, and that uses a streaming technique so the data is streamed out to the http client, so it doesn't require any more ram than to load the index of files.
Can't you do something similar in Java? Don't load the file off the harddisk, instead stream it from the harddisk/database. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Paul, On Thu, Nov 11, 2010 at 07:05, Paul Harris <[email protected]> wrote:
On 11 November 2010 13:51, Caleb James DeLisle <[email protected]
wrote:
The first thing I should tell you is with the windows installer, all of the wiki is kept in ram so you adding large attachments will soon put you in a position of being unable to load the wiki and exporting (to move to a .war with a "real" database) will become very difficult.
So you are saying, if I can't run the wiki, I won't be able to export it and thus can't move the server to a new platform?
I assume, that once its running in a "real" database, I will not need to "export" it, but instead I can just use the normal database backup/restore.... right?
That said, the page you want is http://yourwi.ki/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object Expand the section called "XWikiPreferences 1" and you should find the setting you are looking for.
ok got it, seems to be 33mb limit.
In a postgres database with 1024MB of ram, you will still find a limit around 50MB, something we are working to change.
ouch, how can that be? thats nothing, I know people who want to upload multi-gigabyte files (rather than posting them on a DVD via snail mail).
I wrote a little C++ cgi app with libcurl, and that uses a streaming technique so the data is streamed out to the http client, so it doesn't require any more ram than to load the index of files.
Can't you do something similar in Java? Don't load the file off the harddisk, instead stream it from the harddisk/database.
As Caleb mentioned it, we're working on that. He's actually the one working on implementing the fix right now ;-) Please keep us posted about what you like and don't like about XWiki, we'll be happy to get your feedback! Guillaume
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Caleb James DeLisle -
Guillaume Lerouge -
Paul Harris