Serialized storage state can potentially grow without bound #661
Labels
atom-fs
Filesystem-related issues to address when developing a stable release of the `atom-fs` module.
performance
Issues with the package's speed or CPU usage, including startup time.
Hey, we've come across some situations where users with large projects end up with a file-icons cache larger than 1MB (serialized as JSON).
This ends up causing some pretty severe slowdown, as Atom typically serializes its state whenever idle (usually every couple of seconds), leading to a lot of GC pressure.
Would it make sense to impose some kind of limit on the size of the
Storage
class? Potentially turning it into an LRU cache?Thanks!
The text was updated successfully, but these errors were encountered: