lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
2017-07-27T18:08:07.991127Z

Does anyone know how to give lumo a bigger heap size?

2017-07-27T18:08:17.997829Z

I'm running out of memory 😕

anmonteiro 2017-07-27T18:12:18.143615Z

@mrg try this:

(def v8 (js/require "v8"))
(v8.setFlagsFromString '--max_old_space_size=8192')

2017-07-27T18:12:53.164337Z

let's see!

2017-07-27T18:13:20.180640Z

Nope, same result

2017-07-27T18:13:30.187081Z

Dies at 1.5gb usage

2017-07-27T18:26:55.677418Z

Do you have another idea @anmonteiro ?

anmonteiro 2017-07-27T18:27:10.686725Z

I think that should probably work hrm

anmonteiro 2017-07-27T18:28:38.739598Z

I don’t have any other ideas though

anmonteiro 2017-07-27T18:28:49.746438Z

@mrg feel free to open an issue

anmonteiro 2017-07-27T18:29:00.752726Z

we should probably see what Node.js does here and make it work

2017-07-27T18:30:28.807962Z

will do!

2017-07-27T18:30:33.811092Z

Thanks @anmonteiro

2017-07-27T18:30:40.815562Z

Aside from this issue, lumo is ❤️

anmonteiro 2017-07-27T18:32:37.888373Z

thanks 🙂

2017-07-27T19:27:02.775678Z

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:

anmonteiro 2017-07-27T20:03:37.975434Z

@mrg well…

anmonteiro 2017-07-27T20:03:47.980917Z

that’s the purpose of the ClojureScript compiler + :target :nodejs

anmonteiro 2017-07-27T20:04:10.993927Z

but you can also compile simple CLJS projects with Lumo: https://anmonteiro.com/2017/02/compiling-clojurescript-projects-without-the-jvm/

2017-07-27T20:22:11.580405Z

Neat! Thanks!