Results 3 comments of sonacy

when you changed memory store to sth like leveldb-store, the problem will be fixed. the key problem is about using promise in recursive maybe causing memory leak. I tried several...

i am seeing [the api](https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API) here. ```ts const realPath = path.resolve(__dirname, './utf8.ts') const program = createProgram([realPath], { target: ScriptTarget.ES2017, module: ModuleKind.ES2015, allowJs: true, jsx: JsxEmit.Preserve, }) // use it, got...