You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Performance: statusline/daily commands timeout with large data directories (~750 files, 4GB) #821
The current Claude loader no longer reads whole JSONL files with readFile. It uses marker/line streaming plus worker-based loading, and applies since/minUpdateTime mtime filtering. The statusline path also uses update-time filtering for today and active-block loads. The main causes reported here, large JSONL files, many files, and the 2GB file crash, are resolved on current main. Further speed work should be tracked in #922 as per-file caching.
Activity
aldoeliacim commentedon Jan 23, 2026
After exploring the repo, I found these PRs that directly address this issue:
Both have been open for months. Would love to see one of these merged! 🙏
cc @ryoppippi
LuisGMM commentedon Feb 4, 2026
My case is even bigger. I have a session opened so big node crashes trying to read it. The reading process should be donde in streams...
mag123c commentedon Feb 11, 2026
@aldoeliacim @LuisGMM
I ran into similar issues - ccusage was consuming too much resources for statusline integration.
Ended up building a Rust-based alternative called toktrack.
It uses simd-json + rayon for parallel processing, so resource usage stays minimal
~0.04s for 4GB / 3000+ files
Low memory footprint (no Node.js/V8 overhead)
Might work as a workaround while waiting for a fix toktrack
It has JSON output (toktrack daily --json) so you could pipe it to a custom statusline script if needed.
(Not affiliated with ccusage - just sharing what solved it for me)
ryoppippi commentedon May 17, 2026
The current Claude loader no longer reads whole JSONL files with readFile. It uses marker/line streaming plus worker-based loading, and applies since/minUpdateTime mtime filtering. The statusline path also uses update-time filtering for today and active-block loads. The main causes reported here, large JSONL files, many files, and the 2GB file crash, are resolved on current main. Further speed work should be tracked in #922 as per-file caching.