Hey,

I'm really impressed with imscripten, it's such a cool project. 

I was wondering if anyone had any tips for reducing the memory usage when 
building with emcc.

I have a c++ project that was originally written to run natively, but ports 
nicely to wasm and webgl. It's really cool to see it running in a web 
browser. But I've noticed that emcc aquires about ~3gb of memory during the 
final linking stage. I get that it's doing link time optimisation and that 
all my object files are essentially still code (llvm bytecode), so I can 
maybe understand why it needs this much memory, but I was wondering if 
anyone has advice on how I can get this down ? so that I could build my 
project on a less powerful (and therefore cheaper) build server.

Really appreciate any insites you guys have about this.

Thanks in advance.
Luke

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to