Confluence times out when trying to export a page to PDF
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
You are unable to export pages to PDF. After selecting the option "Export to PDF", Confluence keeps waiting for several minutes until a timeout occurs.
環境
- Confluence 6.15.x
- No proxy configured between the browser and Confluence.
診断
By default, there is no log information regarding the "Export to PDF" action in atlassian-confluence.log.
However, a short time after the export attempt, it's possible to see logs from the Java Garbage Collector:
2020-01-28 09:29:36,830 WARN [alert-dispatch:thread-1] [atlassian-monitor] log 2020-01-28T11:29:36.829Z Component 'Java' alerted 'Garbage Collection exceeded time limit' (details: {"durationInMillis":3798,"windowInMillis":20000,"limitPercent":10,"threadMemoryAllocations":"","threadDump":[]}, trigger: {"pluginKey": "not-detected"})
原因
Confluence wasn't able to export the selected page to PDF because it's running out of memory.
ソリューション
Check if your Confluence instance is correctly sized, considering the Server Hardware Requirements Guide.
Try increasing the available heap memory for your Confluence instance.
関連コンテンツ
If an outbound proxy is used to access Confluence, you may refer to PDF Export Taking Too Long to Generate.