Skip to end of banner
Go to start of banner

How to control the maximum number of attachments to process?

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

How administrators can control the maximum number of attachments to process?

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

To improve the performance of the Attachment Table macro, administrators can now control the maximum number of attachments to process in Global Configuration. (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.

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.

How users can specify the limit for processing the number of attachments?

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. The field description displays the admin-configured value in Global Configuration.

  1. Open the Attachment Table macro editor.

  2. The Page filtering tab displays the information regarding the admin-configured value for the parameter Global Configuration > Maximum attachments to process, and the approximate number of attachments in the instance.

<Screenshot>

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. The field description displays the admin-configured value in Global Configuration.

4. Enter the limit for the number of attachments that the macro must retrieve in the parameter field Limit number of attachments to retrieve.

<screen>

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

How is the limit determined for processing the maximum number of attachments?

Scenario 1: The user does not provide any value for the parameter Limit number of attachments to retrieve.

Scenario 2: The user enters a higher value than the admin-configured value.

Scenario 3: The user enters a lower value than the admin-configured value.

  • No labels