mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-05 11:27:30 +00:00
- Move $limit operation early in pipeline for "*" queries to reduce memory usage - Remove memory-intensive $sort operation for large dataset queries - Add fallback mechanism for memory limit errors with simple query - Implement additional safety checks to enforce max_nodes limit - Improve error handling and logging for memory-related issues