twitch-tools
twitch-tools copied to clipboard
Accounts with lots of results use lots of memory
As all tools do their logic without the need for a server they also need to hold all the information in memory to do that. For example if you want to view the follower list of ninja the tool would fetch and process over 18 million accounts. As it's Javascript and running in a browser it can take quite a bit of ram. Some functions, for example, export don't even work then anymore as the exported file would be above a browser limit big. Unfortunately there is not much that can be done about this without fundamentally changed where the information is stored.
But the data arrives at the client some way, so then it could be paginated, but I see your other issue where Twitch wants to make this impossible, so I mentioned my issue instead with the service you control.
I mentioned my account of having 3 of many FireFox processes taking abnormally high amounts of memory, 1, 3, and 6GBs, especially since not far into the process, maybe 1.5+ million left to block, it would cause the browser on my computer to freeze every 30 accounts or 5+ seconds for at least 10 seconds, vastly slowing the process.
What must be a similar situation exists in the Reddit Thread too.