NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      When exporting large spaces as PDF, there's a big performance issue. When Confluence starts converting the collected pages to PDF, the application becomes unavailable for the users. After some time, there's a java.lang.OutOfMemoryError: Java heap space in the atlassian-confluence.log.

      The OutOfMemoryError problem might be fixed by increasing the size of the heap space.

      There some options though, like:

      1. Possibility of running the PDF export at off-hours, on a synchronized job.
      2. Attachment Size. Limiting it by size and type, finding large attachments.
      3. Pages not included in the PDF be moved to a separate space (also relevant for (1) above).

            [CONFSERVER-19815] Slow Performance in PDF Export

            I am having an issue with the export to PDF feature. The page is very small, but it getting stuck at 0% completion. 

            Alastair Crowe added a comment - I am having an issue with the export to PDF feature. The page is very small, but it getting stuck at 0% completion. 

            Minh Tran added a comment -

            Hi christian.sprenger and all,

            You could check in the FixVersions part.
            The fix for this issue for the behind the firewall version will be 5.9.

            Thanks,
            Minh Tran
            Confluence BugMaster
            Atlassian

            Minh Tran added a comment - Hi christian.sprenger and all, You could check in the FixVersions part. The fix for this issue for the behind the firewall version will be 5.9. Thanks, Minh Tran Confluence BugMaster Atlassian

            Uhm, and Server Version as well I assume?

            Christian Sprenger added a comment - Uhm, and Server Version as well I assume?

            Looking forward to this fix!

            How much of an improvement can we expect?

            Elvar Böðvarsson added a comment - Looking forward to this fix! How much of an improvement can we expect?

            Thanks for the update, mtran@atlassian.com.

            Justin Alex [Design Industries] added a comment - Thanks for the update, mtran@atlassian.com .

            Minh Tran added a comment -

            Dear Justin / all,

            Yes it will be rolled out to Cloud. Please follow our update in this ticket for more information

            Thanks,
            Minh Tran
            Confluence BugMaster
            Atlassian

            Minh Tran added a comment - Dear Justin / all, Yes it will be rolled out to Cloud. Please follow our update in this ticket for more information Thanks, Minh Tran Confluence BugMaster Atlassian

            Noticed this bug has been fixed in Confluence 5.9. Would this fix be rolled out in Confluence Cloud soon?

            Justin Alex [Design Industries] added a comment - Noticed this bug has been fixed in Confluence 5.9. Would this fix be rolled out in Confluence Cloud soon?

            And please also add Confluence version 5.4

            Philippe Hartung added a comment - And please also add Confluence version 5.4

            Mascha added a comment -

            Please add Confluence 5.5.6 to the list of affected versions.

            Mascha added a comment - Please add Confluence 5.5.6 to the list of affected versions.

            This is one of the most annoying bugs at Confluence. We run our instance with spaces that have 2-4 GB size and up to 7.000 pages! We are already running Confluence on a 10 core machine with 10G HEAP and did a lot on tuning it. However, these Space Exports (either PDF, XML or HTML) still cause issues

            Jens Kasperek (Bosch GmbH) (Inactive) added a comment - This is one of the most annoying bugs at Confluence. We run our instance with spaces that have 2-4 GB size and up to 7.000 pages! We are already running Confluence on a 10 core machine with 10G HEAP and did a lot on tuning it. However, these Space Exports (either PDF, XML or HTML) still cause issues

              mfedoryshyn Maksym Fedoryshyh
              asdosreis AlysonA
              Affected customers:
              50 This affects my team
              Watchers:
              60 Start watching this issue

                Created:
                Updated:
                Resolved: