Out of the box in ≥ 2.17.1, CAST Imaging is configured automatically to limit the number of nodes in a custom aggregation to 100,000 (one hundred thousand) when the custom aggregation is configured to use an existing CAST supplied aggregation (such as CAST Taxonomy, Module, Service, etc.). If the custom aggregation exceeds this value, then an error is displayed when the aggregation is created:
This limit is set in order to avoid performance issues when the custom aggregation is used. In this situation, and as a last resort, it is possible to increase the limit (knowing that this may cause performance issues and other unexpected side effects) - this customization is explained below.
Note that the node limit is not applied when creating a custom aggregation from scratch and not using the existing CAST supplied aggregations.
Customizing the limit
To customize the limit, open and edit the following file depending on your environment:
Microsoft Windows via traditional installer
These files are located in the protected %APPDATA% location, therefore you must open the file with elevated permission (this is usually achieved by right clicking your text editor in the Windows start menu and selecting Run as administrator):
You may need to use elevated permissions to edit these files (for example use sudo).
Alter the CUSTOM_AGGREGATION_LIMIT value from 100000 to a new higher value - CAST highly recommends that this value is incremented in small steps of 10,000 nodes until the error message is removed:
|Microsoft Windows traditional installer|
|Docker for Linux/Windows|
Applying the changes
Restart the CAST Imaging "imaging-service" (Microsoft Windows) or the "server" container (Docker) to apply the changes.