Fork me on GitHub
#lumo
<
2017-07-27
>
mrg18:07:07

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

mrg18:07:17

I'm running out of memory 馃槙

anmonteiro18:07:18

@mrg try this:

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

mrg18:07:53

let's see!

mrg18:07:20

Nope, same result

mrg18:07:30

Dies at 1.5gb usage

mrg18:07:55

Do you have another idea @anmonteiro ?

anmonteiro18:07:10

I think that should probably work hrm

anmonteiro18:07:38

I don鈥檛 have any other ideas though

anmonteiro18:07:49

@mrg feel free to open an issue

anmonteiro18:07:00

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

mrg18:07:28

will do!

mrg18:07:40

Aside from this issue, lumo is 鉂わ笍

anmonteiro18:07:37

thanks 馃檪

mrg19:07:02

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:

anmonteiro20:07:47

that鈥檚 the purpose of the ClojureScript compiler + :target :nodejs

mrg20:07:11

Neat! Thanks!