R+H20: Can you increase cluster total memory?

1,272 views
Skip to first unread message

Jared Wolf

unread,
Jul 6, 2016, 5:26:04 PM7/6/16
to H2O Open Source Scalable Machine Learning - h2ostream
Hello,

I'm running H2O through R on a desktop with 8gb (6gb free). Upon initialization, H2O only has a total cluster memory of 1.76gb. How can I increase this?

Thanks,

Jared

Darren Cook

unread,
Jul 6, 2016, 5:40:08 PM7/6/16
to h2os...@googlegroups.com
> I'm running H2O through R on a desktop with 8gb (6gb free). Upon initialization,
> H2O only has a total cluster memory of 1.76gb. How can I increase this?

You have to shutdown the cluster, then call init() again, but specify
the memory to use. E.g.

h2o.init(nthreads=-1, max_mem_size="4g")

(to use all cores, and use 4GB of your 6GB)

Darren

Jared Wolf

unread,
Jul 7, 2016, 8:54:59 AM7/7/16
to H2O Open Source Scalable Machine Learning - h2ostream
Perfect! Thank you sir!
Reply all
Reply to author
Forward
0 new messages