We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4bacf3 commit 72c0961Copy full SHA for 72c0961
src/tsc/tsc.ts
@@ -322,6 +322,10 @@ namespace ts {
322
const compilerOptions = program.getCompilerOptions();
323
if (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics) {
324
statistics = [];
325
+
326
+ // @ts-ignore
327
+ if (typeof gc === "function") { gc(); }
328
329
const memoryUsed = sys.getMemoryUsage ? sys.getMemoryUsage() : -1;
330
reportCountStatistic("Files", program.getSourceFiles().length);
331
reportCountStatistic("Lines", countLines(program));
0 commit comments