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

Workerize loader runs out of memory #108

Open
TeoTN opened this issue Aug 12, 2020 · 5 comments
Open

Workerize loader runs out of memory #108

TeoTN opened this issue Aug 12, 2020 · 5 comments
Labels
question Further information is requested

Comments

@TeoTN
Copy link

TeoTN commented Aug 12, 2020

Workerize loader runs out of memory in my custom webpack config (unfortunately, I can't share it), and I see similar issue to this one.

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

when running webpack --progress, it doesn't stop on any particular file, it's usually around 67% though.

workerize-loader is in version 1.3.0
webpack is 4.43.0

Would you be able to suggest how to debug this issue? I was trying to compare my config with CRA, and the only major difference is that CRA is running TypeScript in fork, I wonder if this may be an important difference.

@developit
Copy link
Owner

Sorry for the late reply. In order to know what's going on, I'd need to know if you're enabling Workerize-loader using inline loader syntax, or via module.rules mappings in your Webpack configuration.

@developit developit added the question Further information is requested label Jan 9, 2021
@globsecure
Copy link

Sorry for the late reply. In order to know what's going on, I'd need to know if you're enabling Workerize-loader using inline loader syntax, or via module.rules mappings in your Webpack configuration.

I have the same problem with using an inline loader

@TeoTN
Copy link
Author

TeoTN commented Mar 17, 2021

Sorry for the late reply. In order to know what's going on, I'd need to know if you're enabling Workerize-loader using inline loader syntax, or via module.rules mappings in your Webpack configuration.

It was using module.rules mappings in webpack config. I don't work on that project anymore though (don't have access), so won't be able to provide much more details, unfortunately

@kilofafeure
Copy link

kilofafeure commented Dec 2, 2021

I had wroten here an error but its not the same, Im goint to create a new issue

@rake7h
Copy link

rake7h commented Jun 4, 2022

having same issue with workerize-loader:2.0.2 on webpack 5 via module.rules config. It seems working fine with inline loader syntax though.

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

No branches or pull requests

5 participants