What is -Xmx? something of XWiki, Tomcat or mySql?
Op 26 sep 2010, om 21:24 heeft Caleb James DeLisle het volgende geschreven:
200 megabytes (200000000) should be enough. There is another problem with memory
exhaustion but
usually you don't get the "XWiki has a default limit of around 10Mb" message
when that happens.
Just out of curiosity, what is your -Xmx set to?
Caleb
Gerritjan Koekkoek wrote:
Thx for the help, but I already did that, do you think
200000000 is big enough?
Op 26 sep 2010, om 18:06 heeft Caleb James DeLisle het volgende geschreven:
Try going to
yourwiki.com/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object
and then expand the "Objects of type XWiki.XWikiPreferences (1)" section, then
find where it says: "Maximum Upload Size"
That number is a number of bytes, I usually just make it really huge.
Caleb
Gerritjan Koekkoek wrote:
I'm trying to Import a backup of around 45 MB
in a test environment of Xwiki
It fails after clicking UPLOAD;I'm getting a message:
XWiki has a default limit of around 10Mb for attached files. This limit can be changed
using the upload_maxsize parameter. Check the FAQ for more information.
I'm running XWiki Enterprise 2.4.2.31315
on mySQL 5.1
I've changed my.cnf of mySQL to increase max_allowed_packet
# The MySQL server
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
key_buffer_size = 16M
max_allowed_packet = 64M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
This shows in when i run mysqld --verbose --help as:
max_allowed_packet 67108864
I've also used the class editor in xwiki to edit the parameter of the preferences
Name: upload_maxsize (default)
Pretty Name: Maximum Upload Size (default)
Validation Regular Expression: (default)
Validation Message: (default)
Number Type: long (default)
Size of the corresponding form element in edit mode : 200000000 (changed)
any suggestions?
_______________________________________________
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org