Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page demonstrates how administrators and users can specify the number of attachments to process for in the Attachment Table macro.

Global Configuration includes a new configuration parameter named Maximum attachments to process

To improve the performance of the Attachment Table macro, Administrators can control the maximum number of attachments to process in Global ConfigurationConfiguration for the Attachment Table macro. Setting the limit enables administrators to reduce the load and avoid Confluence crashing. (Available since app version 8.7.0).)

<Screenshot>

  1. Log in as a user with the Confluence administrator's Global Permission.

  2. Navigate to Manage apps > Advanced Tables for Confluence Configuration > Global Configuration

  3. The page displays the configuration options available. For more information, refer to Configuration - 8.x.

  4. Maximum attachments to process: Select the limit for processing the maximum number of attachments from the Maximum attachments to process drop-down. The default limit is 1000. The configuration also shows the approximate number of attachments available in the Confluence instance.

Note

Administrators should be cautious when increasing the parameter limit. Generating long queries and fetching large attachments compromise Confluence's performance. It brings down Confluence with extreme CPU load and consumes massive amounts of Java heap memory.

...

Administrators should be cautious when increasing the configuration limit, as this may lead to heavy Confluence usage and potentially result in degrading the performance of Confluence.

Limit the processing of the number of attachments in the Attachment Table macro

Users can specify the number of attachments that the macro must retrieve. The default value is the admin-configured limit for the parameter Maximum attachments to process in Global Configuration.

...

3. Click the Data Settings tab. The parameter Limit number of attachments displays the default admin-configured limit for the parameter Maximum attachments to process in Global Configuration.

Info

The field description displays the admin-configured value in the Global Configuration

...

.

4. Enter the limit for the number of attachments to retrieve in the parameter field Limit number of attachments to retrieve. For more information, hover over the (info) icon for the help text.

<screen>

The macro considers the least of the value configured between the parameters Limit number of attachments to retrieve, and Global Configuration > Maximum attachmentsto processto process the attachments.

The various scenarios and setting the limit for processing the number of attachments

Scenario 1: The administrator changes the default value

...