Currently, with an import from scratch by the github importer on a 700 issues real world repo, all stored in memory leads to a 67MB memory usage, so It's really premature at this point, but it will be necessary eventually.
Here is what we can do:
implement a LRU policy or equivalent, with a configurable maximum number of entities kept in memory
optionally, allow for an importer to explicitly not store the newly created issues in the cache. This could be done by either an explicit API, or by setting the LRU limit very low.
Michael Muré (MichaelMure)
added label
Core
Michael Muré (MichaelMure)
added label
Easy pick
Amine (a-hilaly)
added label
hacktoberfest
Michael Muré (MichaelMure)
removed label
Easy pick
Bhavuk kalra (bhavukkalra) commented
hello @MichaelMure could i take up this issue?
I would love to implement a least recently used cache for git-bug for proper memory utlisation
Bhavuk kalra (bhavukkalra) commented
also could i get some tips on how to proceed with this...
A heads up would be really great..