Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
8.4.4
-
None
-
Unknown
-
Description
Hello,
When I try to delete or move a page with big attachments (ie 8 attachments and 20 Mo each) the deletion failed with this error:
Some errors happened: Exception thrown during job execution
Moving a page failed to (the copy stage working well but the delete stage failed):
No relative links to update in [Home » Encyclopédie » SMQ-M2 : Test rename].
Java heap space
class java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at java.lang.StringCoding.safeTrim(StringCoding.java:89)
at java.lang.StringCoding.access$100(StringCoding.java:50)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:154)
at java.lang.StringCoding.decode(StringCoding.java:193)
The solution to manage deletion is to remove each (or some) attachment before to delete the page.
I tested with jetty package with a xar page of 122 Mo size and this xwiki properties:
xwiki.store.attachment.hint=file xwiki.store.attachment.versioning.hint=file xwiki.store.attachment.recyclebin.hint=file
It seem that the deletion working well when the size of the page (page and attachments) is lowered under 100 Mo.
Thxs
Pascal B
Attachments
Issue Links
- duplicates
-
XWIKI-8910 Cannot delete document with many large attachments
- Closed