Monitor and Tune Performance

Diagnose slow graph loading, adjust memory settings, and configure thresholds for large applications.

Before you start

Who this is for CAST Imaging administrator
Role required Super Admin; local server admin
Prerequisites CAST Imaging installed

Diagnose slow graph loading

If the canvas takes a long time to load, or shows a “Failed to get graph data” error:

  1. Check Neo4j memory settings. See Manage Neo4j.
  2. Check the CAST Imaging logs for timeout or memory errors. See Enable logging [TODO: update link].
  3. If the error persists, see Graph fails to load.

Adjust Neo4j buffer size

Increase the Neo4j page cache for applications with large graphs.

[TODO: Recommended formula and configuration steps]

Configure import batch size

Large imports can be split into smaller batches to reduce memory pressure.

[TODO: Where to set the batch size; recommended values]

Configure custom aggregation node limit

Custom aggregations with many nodes affect rendering performance. Set a limit to prevent this.

[TODO: Where to configure the limit; default value]

Configure huge transaction and DCG thresholds

Transactions and data call graphs with more than 10,000 objects are not imported by default. You can change this threshold.

[TODO: Configuration file location and parameter name]

Enable SQL execution logging

Enable SQL logging to diagnose slow database queries.

[TODO: How to enable and where to read the logs]

Next steps