Re: [xwiki-users] Attachment sizes

2010-11-11 Thread Guillaume Lerouge
Hi Paul,

On Thu, Nov 11, 2010 at 07:05, Paul Harris harris...@gmail.com wrote:

 On 11 November 2010 13:51, Caleb James DeLisle calebdeli...@lavabit.com
 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Attachment sizes

2010-11-10 Thread Paul Harris
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/Howtoincreasethemaximumattachmentsize

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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Attachment sizes

2010-11-10 Thread Caleb James DeLisle
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/Howtoincreasethemaximumattachmentsize
 
 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Attachment sizes

2010-11-10 Thread Paul Harris
On 11 November 2010 13:51, Caleb James DeLisle calebdeli...@lavabit.comwrote:

 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.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Attachment sizes

2010-11-10 Thread Caleb James DeLisle


On 11/11/2010 01:05 AM, Paul Harris wrote:
 On 11 November 2010 13:51, Caleb James DeLisle 
 calebdeli...@lavabit.comwrote:
 
 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users