How to clear cache in esa_snappy Snap 10.0

I am already doing this:
jpy.get_type(“java.lang.System”).gc()
still it consumes too much memory