Confluence 5.6 has reached end of life
Check out the [latest version] of the documentation
Confluence gives you the option of limiting the maximum size of a single file attachment. Confluence administrators should keep in mind that the amount of disk space used by Confluence is directly proportional to the number and size of attachments put into the system.
To configure the maximum size allowed for an attachment:
Choose the cog icon , then choose General Configuration under Confluence Administration.
Enter the maximum size next to Attachment Maximum Size'.
The default is 10mb.To configure the maximum 'index-able size of attachments':
By default, large attachment is defined as greater than 1 MB.
The threshold for attachments that won't get excerpts can be modified using the system property atlassian.indexing.contentbody.maxsize, which takes a size in bytes.
To specify 250 kb you would use the following JVM parameter:
-Datlassian.indexing.contentbody.maxsize=256000
Limiting the size of attachment indexing has the following effects:
For more details, please refer to the following issue in our issue tracker: CONF-10512.