Calling H2O garbage collect from python

To perform on demand garbage collect in H2O from R, try following:


If you want to do GC in H2O from Python, then there is no python specific function however you could invoke H2O GC RESTful API from python as below:

  • import h2o
  • import gc
  • h2o.api(“POST /3/GarbageCollect”)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s