xkikeg / okane

Plain text accounting software supporting ledger-cli format using Rust
MIT License
4 stars 0 forks source link

Amount computation leaks the heap #169

Closed xkikeg closed 3 weeks ago

xkikeg commented 1 month ago

If I run the report:: process repeatedly, that'll cause HashMap to leak the heap.

I want to have a reproducible minimal case.

xkikeg commented 4 weeks ago

I started to doubt this is because of Criterion holding the inner execution drop.

Let me check the Criterion doc to avoid having large item in the loop.

xkikeg commented 3 weeks ago

Fixed in #172