some memory management tweaks
some memory management tweaks

terrytangyuan/reticulate,rstudio/reticulate,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,rstudio/reticulate,rstudio/tensorflow,terrytangyuan/reticulate,rstudio/reticulate