This repository was archived by the owner on Oct 29, 2019. It is now read-only.

Description
When i try to generate code from compiled templates i'm running into a critical memory leak.
The following code is for demonstration only.
var template = File.ReadAllText("Template.txt");
Parallel.For(0, 1000, (i) =>
{
var compiledTemplate = engine.CompileTemplate(template);
var result = compiledTemplate.Process();
});
Btw: All higher level template processing is effected too.