``` Loaded pricing for 1140 models ccusage 8:42:20 PM node:internal/fs/promises:590 result += decoder.write(readBuffer); ^ RangeError: Invalid string length ```
Activity
yuyangchee98 commentedon Jul 3, 2025
Ran with: NODE_OPTIONS="--max-old-space-size=81192" ccusage
ryoppippi commentedon Jul 4, 2025
should fix it. could you give us PR?
ryoppippi commentedon Jul 5, 2025
@yuyangchee98 so it happens because we have longer logs than before.
if so , we need to consider using iterators for parsing logs.
haltingstate commentedon Oct 23, 2025
I have error too. Its just crashing.