Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release web workers after compilation is finished #29

Open
klesun opened this issue Aug 9, 2024 · 0 comments
Open

Release web workers after compilation is finished #29

klesun opened this issue Aug 9, 2024 · 0 comments

Comments

@klesun
Copy link
Owner

klesun commented Aug 9, 2024

I just noticed that workers keep hanging in the background even after all typescript files were loaded. I believe that wastes away a lot of RAM, as each worker initializes the typescript compiler.
image

The only reason we may want to keep workers around is the dynamic imports. Maybe use cold re-start of workers in such cases or just compile in the main thread, dunno...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant