GitoxideLabs / gitoxide

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

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

Closed Byron closed 3 weeks ago

Byron commented 3 weeks 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 3 weeks ago

CC @dscho, I will resolve this soon.