Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16782

Deleting or exporting a document containing a very large attachment takes a lot of memory

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      Steps to reproduce on a clean local 10.11.9 :

      • create a test page with a large attachment (234MB)
      • deleted the test page using More>Delete

      Result: the page looks deleted (displayed status is "DONE but upon refresh the page is still there

      On the logs I have the following error:

      java.lang.OutOfMemoryError: Java heap space
      Dumping heap to data/java_pid27458.hprof ...
      Heap dump file created [435228849 bytes in 3.453 secs]
      

      Deleting directly the attachment works without an issue.

      Expected result: the page is deleted properly.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              oana.tabaranu Elena-Oana Florea
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: