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

            Naren Gupta made changes -
            Remote Link Original: This issue links to "ADM-14870 (Atlassian JIRA Extranet - Special Projects)" [ 34311 ] New: This issue links to "ADM-14870 (Hello Jira)" [ 34311 ]

            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. 
            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 695393 ]
            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 670464 ]
            Maksym Fedoryshyh made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 656861 ]
            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 656861 ]
            Usman Khalid (Inactive) made changes -
            Labels Original: affects-cloud affects-server bug-hunt bugfix-project content_scale enterprise enterprise-backlog jirastudio loyalty multitenant pdf-generation pdf_export performance scale-team stability zoome New: affects-cloud affects-server bug-hunt bugfix-project content_scale enterprise jirastudio loyalty multitenant pdf-generation pdf_export performance scale-team stability zoome
            Usman Khalid (Inactive) made changes -
            Labels Original: affects-cloud affects-server bug-hunt bugfix-project content_scale enterprise enterprise-backlog jirastudio loyalty multitenant pdf-generation pdf_export performance stability zoome New: affects-cloud affects-server bug-hunt bugfix-project content_scale enterprise enterprise-backlog jirastudio loyalty multitenant pdf-generation pdf_export performance scale-team stability zoome
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2891019 ] New: CONFSERVER Bug Workflow v4 [ 2983172 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2781634 ] New: JAC Bug Workflow v3 [ 2891019 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

                Created:
                Updated:
                Resolved: