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

Reduce heap exhaustion during export (and partly import)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.3 M2
    • 1.9.4, 2.2.2
    • {Unused} Core
    • None
    • patch
    • Unit
    • Unknown

    Description

      This patch mainly provide the following improvements:

      1) Stop building DOM in memory for just streaming them
      2) Avoid buffers duplications in favor of stream filters

      These are involved in

      1) Packaging
      2) ZipExplorer
      3) Upload
      4) Attachment contents

      This patch require an upgrade of org.apache.commons.codec to version 1.4 (dependency against Base64OutputStream)

      see http://www.mail-archive.com/devs@xwiki.org/msg10988.html for more details

      Attachments

        1. stream-xml-attachement.patch
          89 kB
          Denis Gervalle
        2. stream-xml-attachement.patch
          73 kB
          Denis Gervalle
        3. stream-xml-attachement.patch
          74 kB
          Denis Gervalle

        Activity

          People

            tmortagne Thomas Mortagne
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: