Closed Makisuo closed 5 months ago
@Makisuo I'm not seeing this problem with bunchee@5.1.5
which is used on main branch now, are you still seeing the issue?
Kinda fixed it by setting NODE_OPTIONS=--max-old-space-size=8192
, but memory is spiking still super high at around ~5gb compared to the ~600mb for the other packages.
I tested with removing that flag and it still works for me
I have a package with a lot of entries and it seems to consume overly much Memory, aswell as crashing with Out of Memory since reaching some threshold of entry files.
Any way for me to limit bunchees concurrent building or setting Memory Limits for my builds to not crash from it?
Here is also the package responsible for it:
https://github.com/telekom/pixelshades/blob/main/packages/styles/package.json