As a System Administrator or Confluence Administrator, you can limit the number of pages that can be exported by Scroll PDF Exporter. This might be required to guarantee system stability due to large PDF exports consuming a lot of memory and affecting the performance of Confluence.

To do this, simply navigate to Confluence administration > Scroll Runtime > Advanced Plugin Settings > select Scroll PDF Exporter from the dropdown.

You can then edit the export.max.page.count advanced plugin and define the export page limit. 

If you experience system instability with large PDF exports you can also try to enable the external process PDF conversion. You can find out more about this process here.

Advanced plugin setting

The value defined for the advanced plugin will be applied globally, to all spaces:

KeyValueDescription
export.max.page.count-1 (default)

If the value is set to -1, no page limit is applied. This means an unlimited number of pages can be exported in a single export.

(empty)If no value is set, no page limit is applied. Any defined value that is not a whole number will behave the same as -1.
WHOLE NUMBERIf a whole number is set, this value will define how many pages can be exported in a single export. Exports exceeding this value will be prevented and an error message will be displayed.

If you have also restricted the export functionality, the defined page limit will be applied to the whitelisted spaces and/or user groups.