Memory usage of web workers

@dginther You mentioned having a lot of rows in your sentry_environmentproject table here: Extremely large initial download. Login takes 1+ minutes. What is this? - #7 by dginther

Just for some context, you have over 10x rows that we have in our production system. I’m wondering if you’re using environments in a way we didn’t intend. We mostly expect environment to be something like prod, dev, etc. So for a given org/project, we’re expect a low number of these, 0-20 on average.

I wouldn’t be surprised if this is the cause of your memory issues, since you’re probably bringing all those rows into memory frequently.