Graph Database: Troubleshooting
Graph Database: Troubleshooting
Part of: Graph Database User Guide
Common Issues
Issue: Out of Memory
Symptoms: OOM errors during large graph operations
Solutions:
- Increase
max_memoryinStorageConfig - Use pagination with
LIMITandSKIP - Filter data before algorithms
- Enable memory-mapped storage for very large graphs
let config = StorageConfig { max_memory: 20 * 1024 * 1024 * 1024, // 20GB use_mmap: true, ..Default::default()};Issue: Slow Queries
Symptoms: Queries taking >1 second
Solutions:
- Create indexes on frequently queried properties
- Use BFS/DFS instead of Cypher for simple traversals
- Limit result sets
- Optimize storage periodically
storage.optimize().await?;Issue: Import Errors
Symptoms: Errors during bulk import
Solutions:
- Use batch updates
- Validate data format
- Check for duplicate IDs
- Increase batch size
let batch_mgr = BatchUpdateManager::new(Arc::new(storage), 10000);Navigation
- Previous: Monitoring
- Index: Graph Database User Guide
Version: 6.5 Last Updated: November 17, 2025