Nebukam / steam-game-finder

Steam : Game Finder is a small app/browser extension allowing a group of Steam users to find out which games they have in common, and who is left out; as well as filtering their shared libraries content to find what to play next.
MIT License
34 stars 3 forks source link

Error code: Out of Memory #5

Open Zipster129 opened 2 years ago

Zipster129 commented 2 years ago

When using the Edge extension I am receiving an error code that states: Out of Memory and seems to be the case when I have too many friends, say 10 or 11 selected at once and doing comparisons.

Sometimes when it is sitting idle on the site or just browsing through the games that are in common or who doesn't have certain ones.

See attached for screenshot of the issue encountered in Edge.

Out of Memory - Edge

Nebukam commented 2 years ago

Ooof yeah I need to look into that.
I've been looking for way to reduce memory usage for a while but sadly this won't be a quick fix -- the issue most likely comes from the game covers : they are only loaded when shown, but they are never unloaded after that (mostly to avoid popin).

I have a solution in mind but it will require some refactor to be implemented.
Thanks a lot for reporting it!!

note for self https://github.com/Nebukam/nkmjs/blob/main/packages/nkmjs-ui-core/lib/helpers/dom-streamer.js