[xwiki-users] After uploading a picture or a file in wysiwyg editor, an error occurs
I am using WYSIWYG editor 2.0, when I use "Insert picture" or "Link/Insert attachement", an error occurs if the picture is large. But the picture seems to be uploaded anyway. http://n2.nabble.com/file/n3230130/screenshot6590.png :-( -- View this message in context: http://n2.nabble.com/After-uploading-a-picture-or-a-file-in-wysiwyg-editor%2... Sent from the XWiki- Users mailing list archive at Nabble.com.
ArielWang wrote:
I am using WYSIWYG editor 2.0, when I use "Insert picture" or "Link/Insert attachement", an error occurs if the picture is large. But the picture seems to be uploaded anyway.
What exactly do you mean by "large"? How "large" is the image you're trying to upload? Do you see any useful message in the server logs/console? What database are you using? Can you attach the same image to a page using the Attachments tab below the page in view mode? Thanks, Marius
Thank you so much for your reply. I tried the image larger than 1M and it fails... I am using MySQL. The attachment has the same error with insert: Below is the error message I get from the attachment function: Java Heap Space Out Of Memory Exception ! -- View this message in context: http://n2.nabble.com/After-uploading-a-picture-or-a-file-in-wysiwyg-editor%2... Sent from the XWiki- Users mailing list archive at Nabble.com.
ArielWang wrote:
Thank you so much for your reply.
I tried the image larger than 1M and it fails... I am using MySQL.
See the note at the end of Installation Steps section of http://tinyurl.com/lhfhtu . Maybe increasing the maximum allowed packed size will help.
The attachment has the same error with insert: Below is the error message I get from the attachment function: Java Heap Space Out Of Memory Exception !
Try to increase the maximum amount of memory allowed for your application server (-Xmx512m) Hope this helps, Marius
The problem has been solved. I added the memory of tomcat. Thank you for your help! -- View this message in context: http://n2.nabble.com/After-uploading-a-picture-or-a-file-in-wysiwyg-editor%2... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
ArielWang -
Marius Dumitru Florea