-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Content - File Previews
-
7
Problem Definition
Confluence uses document conversion service to convert Office file and PDF files for preview and thumbnail generation. Currently, this service has a queue of tasks to run through and the file conversion service spins up background threads to convert those documents. Unfortunately, if one document is taking a bit more time to convert, Confluence might spin too many concurrent threads which might add too much pressure on the CPU and memory.
Suggested Solution
The suggested solution is to limit the number of concurrent conversion threads by default.
Workaround
The current workaround is to add the following JVM argument to limit the number of conversion threads.
-Dconfluence.document.conversion.threads=3