Graph Fails to Load

Fix the “Failed to get graph data” error and other graph loading failures.

Symptom

The canvas shows an error: “Failed to get graph data”, or the application loads but the canvas stays empty.

Likely causes

Cause How to confirm
Neo4j out of memory Check Neo4j logs for OutOfMemoryError or GC overhead
Neo4j page cache too small Graph loads but is very slow; Neo4j log shows cache misses
Corrupt import Some applications load but one specific application fails
Neo4j service stopped CAST Imaging admin panel shows Neo4j as down

Resolution

Increase Neo4j memory

See Manage Neo4j — Optimize memory allocation.

Increase the page cache

See Monitor and tune performance — Adjust Neo4j buffer size.

Re-import the application

If only one application fails and Neo4j is healthy:

  1. In the Admin Center, find the application.
  2. Trigger a manual re-import.

See Import application data into Imaging.

Restart Neo4j

If the Neo4j service stopped unexpectedly:

[TODO: Commands to restart Neo4j on Windows and Docker]