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
v1.27.10: compilation hangs and outputs "JavaScript heap out of memory" #3279
Comments
Sorry, will probably not be able to roll back today. You can probably fix it by pinning the version to 1.27.9. However it would be much more important for me to find out what I overlooked. It must be related to some code snippet. I would be highly interested if anyone can find a reproduction or share a repo that fails so that I can figure this out. |
I'm having the same issue with 1.27.10 (Win7, Node 8.9.4) - pinning the version to 1.27.9 goes back to normal. |
Same problem with firebase/auth library:
Rollup 1.27.10 fails to build firebase/authWhen trying to build with the latest rollup version we get a memory error: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Steps to reproduce:Relevant Code:packaje.json: {
"name": "firebaseauth",
"version": "1.0.0",
"scripts": {
"build": "rollup -c"
},
"dependencies": {
"firebase": "^7.5.2"
},
"devDependencies": {
"rollup": "1.27.10",
"rollup-plugin-node-resolve": "^5.2.0"
}
} index.js: import '@firebase/auth'; rollup.config.js: import resolve from 'rollup-plugin-node-resolve';
export default {
input : "index.js",
output : {
dir : "public",
format: "es",
entryFileNames: '[name]'
},
plugins: [
resolve()
]
}; $ npm install |
Thanks for the reproduction, fix at #3280 |
this problem still exists in |
Similar issue still seems to exist in |
Probably not this exact one. Please provide a reproduction and open a new issue. Also try increasing the Node heap first via the |
How Do We Reproduce?
rollup-plugin-replace
,rollup-plugin-node-resolve
,rollup-plugin-typescript2
,rollup-plugin-terser
)Expected Behavior
Compilation completes without GC logs nor JS stacktrace.
Actual Behavior
Compilation hangs and outputs the following lines:
The text was updated successfully, but these errors were encountered: