Does anyone know how to give lumo a bigger heap size?
I'm running out of memory 😕
@mrg try this:
(def v8 (js/require "v8"))
(v8.setFlagsFromString '--max_old_space_size=8192')
let's see!
Nope, same result
Dies at 1.5gb usage
Do you have another idea @anmonteiro ?
I think that should probably work hrm
I don’t have any other ideas though
@mrg feel free to open an issue
we should probably see what Node.js does here and make it work
will do!
Thanks @anmonteiro
Aside from this issue, lumo is ❤️
thanks 🙂
Hey @anmonteiro .. I don't suppose there is a way to get the compiled javascript out of lumo, and then run that one in node? :thinking_face:
@mrg well…
that’s the purpose of the ClojureScript compiler + :target :nodejs
but you can also compile simple CLJS projects with Lumo: https://anmonteiro.com/2017/02/compiling-clojurescript-projects-without-the-jvm/
Neat! Thanks!