Byron / gitoxide

An idiomatic, lean, fast & safe pure Rust implementation of Git
Apache License 2.0
8.84k stars 301 forks source link

`gix::Repository` - make freelist controllable #1599

Closed Byron closed 5 days ago

Byron commented 1 week ago

The issue is that huge blobs can be read and right now, this memory would go back onto the free-list to never be released or shrunk. Right now, there are no limits. Figure out a good API to deal with this - my idea would be to make it take able so settable so that it can be turned off, and taken, processed/shrunk, and then re-enabled by placing it back.

Byron commented 1 week ago

CC @dscho, I will resolve this soon.