Open miha-plesko opened 7 years ago
I went crazy and used 14GB of memory + 4GB swap. This time it compiled successfully, but only barely. So it takes slightly less than 18GB of memory to compile unikernel - is this expected?
The result in rumprun-packages/nodejs/build-4.3.0/out/Release/node-aplikacija_word-finder
is 108MB big.
I hardly imagine what was make doing to consume 18 gigs.
Any idea?
We don't supply the toolchain, so it's tough to say why it's using so much memory. Maybe you can play around with different version of cc/make/ld (whichever was consuming the memory). My poor development laptop has nowhere near 18GB of memory, so I'm sure it didn't consume that much when I tried node.js out.
So I'm trying to run this NodeJS application with Rumprun. I've git-cloned it to the
rumprun-packages/nodejs/examples
and run following commands:as suggested in NodeJS readme. BUT the
make
command fails after some time saying:I run this on a machine with 10GB RAM plus 4GB swap. With
htop
I can see that all the memmory is consumed indeed. Now, the NodeJS application is around 100MB big. Why wouldmake
consume 14GB of memory? :smile: