This page last changed on Dec 17, 2009 by ggaskell.

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

  1. Go to the 'Administration Console' and click 'General Configuration' in the left-hand panel.
  2. Click 'Edit' on the 'General Configuration' screen.
  3. Enter the maximum size next to 'Attachment Maximum Size'. The default is 10 MB.
  4. 'Save' your changes.


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.

Example

To specify 250 kb you would use the following JVM parameter:
-Datlassian.indexing.contentbody.maxsize=256000

Outcomes of Limiting Attachment Indexing Size

Limiting the size of attachment indexing has the following effects:

  • Decreases the size of the index when large attachments are present.
  • Decreases the memory used in indexing large attachments.
  • Prevent excerpts of large attachments being displayed in search results.

For more details, please refer to the following JIRA issue.

RELATED TOPICS
Page: Configuring Character Encoding
Page: Configuring Indexing Language
Page: Configuring Attachment Size
Page: Configuring Number Formats
Page: Thumbnail Settings
Page: Number of Ancestors to Show in Breadcrumbs
Page: Configuring HTTP Timeout Settings
Page: Configuring Time and Date Formats
Page: Recognised System Properties

Document generated by Confluence on Jul 09, 2010 01:08