-
Notifications
You must be signed in to change notification settings - Fork 7
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
Out of memory when used in conjunction with vite-plugin-pwa #653
Comments
Thank you for opening this issue! The https://github.com/jill64/sveltekit-adapter-aws/blob/main/docs/edge-bundled/README.md I've never used |
Hi, this is during build with vite, I know vite-plugin-pwa has to create a manifest for all the files to cache in the service worker - if that is somehow mixing into what your plugin does to create some recursive loop or something that is causing the heap to overflow 🤷 |
Understood. |
Great, occasionally it does build, it's probably a project-size thing, so maybe try and clone a large sveltekit project to test against. |
might be relevant: https://vite-pwa-org.netlify.app/frameworks/sveltekit#sveltekit-and-adapters |
I tried to create a SvelteKit project with 6500 routes but could not reproduce the problem. https://github.com/jill64/saa-issue-653 Is it possible for you to provide a repro? |
I'm using vite-plug-pwa to setup service workers.
When I try to combine this plugin with sveltekit-adapter-aws ('edge-bundled'), I get a v8 JavasScript heap out of memory error. I can remove either plugin, and the project will build ok.
System:
The text was updated successfully, but these errors were encountered: