The problem is described in https://github.com/dmlc/tvm/issues/4143. The fix for interpreter is https://github.com/dmlc/tvm/pull/4155. We need to handle let recursion in VMCompiler and vm to avoid memory leak.