添付ファイルのサイズを設定する
Confluence にアップロードおよび添付できるファイルのサイズを制限できます。
アップロードできるファイルの最大サイズを設定するには:
[管理] メニュー から、[一般設定]
- 編集を選択する。
「添付ファイルの最大サイズ」の横に最大サイズを入力します。
既定は 100 MB です。保存を選択します 。
関連ページ
添付ファイルのインデックス作成方法
ファイルがアップロードされたら、Confluence はテキストを抽出してインデックスを作成しようとします。これにより、ユーザーはファイル名だけでなく、ファイルのコンテンツを検索することができます。このプロセスは非常にメモリ集約的なため、大きなファイルがアップロードされると、メモリ不足エラーが発生する場合があります。Confluence には、この発生を防ぐ多数の予防策があります。
- For Office, PDF, and other files that use plugin-based extraction, Confluence skips new text extraction when the file exceeds the
atlassian.indexing.attachment.maxsizelimit (100 MB by default). Confluence can still index attachment metadata and reuse previously extracted text. For text and XML files, the same setting limits how many input bytes Confluence reads, rather than excluding the entire file. - アップロードされたファイルのタイプが次のいずれかの場合、Confluence が抽出する最大の量は次のとおりです:
- Excel (.xlsx) または PowerPoint (.pptx) のテキストの場合:1 MB
- PDF (.pdf) のテキストの場合: 8 MB
- Word (.docx) のテキストの場合: 16 MB
- 100 MB of input from text and XML files by default, controlled by
atlassian.indexing.attachment.maxsize
As files such as
.xlsxand.docxcontain compressed data, text extraction may reach a processing limit even when the uploaded file is smaller than the attachment-size limit. Extraction limits also do not guarantee that an OpenSearch indexing request stays within the search service’s request-size limit. Oversized requests can fail with HTTP 413.
- ファイルから抽出されたテキストが 1 MB より大きい場合、検索は可能ですが、Confluence はこのテキストを検索結果の抜粋には表示しません。
Confluence がテキストの抽出を中止した場合、検索可能となるのはファイルの内容の一部のみです。
Confluence はファイルの抽出とインデックス作成を 1 回のみ試行します。失敗した場合は再試行しません。
一部の値はシステム プロパティから設定できます。大きなファイルをアップロードした際にメモリ不足エラーが発生する場合、次のプロパティを使用して、これらの制限をさらに減らすことができます。
atlassian.indexing.attachment.maxsize
officeconnector.excel.extractor.maxlength
officeconnector.textextract.word.docxmaxsize
atlassian.indexing.contentbody.maxsize
officeconnector.powerpoint.extractor.maxlength