You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long story short, I'm trying to build gitea which uses lightningcss-loader 2.1.0. I use node v18.19.0. The build (make) stopped when webpack dumps the core dump due to bus error. Passing NODE_OPTIONS="--max-old-space-size=4096" doesn't seemingly help in this case.
I don't have a time to examine core dumps in depth, so attached below.
If I understand correctly, lightningcss is trying to allocate more memory than the system is willing to provide (4GB total with 4.4GB swap, around 2.4GB usable live memory at time of execution) which the kernel then refuses to allocate and it raises SIGBUS.
Is this enough memory to run it? Are there any minimum memory requirements documented? The source CSS is only around 1-2MB unminified in our case.
Edit: After reading Wikipedia, I think it may not actually be related to available memory size but instead should be a invalid memory address access that the CPU can not address. I think stuff like this should only be possible in unsafe Rust, right?
Hi,
I'm opening this issue in reference to go-gitea/gitea#29058.
Long story short, I'm trying to build gitea which uses lightningcss-loader 2.1.0. I use node v18.19.0. The build (
make
) stopped when webpack dumps the core dump due to bus error. PassingNODE_OPTIONS="--max-old-space-size=4096"
doesn't seemingly help in this case.I don't have a time to examine core dumps in depth, so attached below.
The text was updated successfully, but these errors were encountered: