Posted 3 May 2019, 2:58 am EST
In AR v7, the memory issue was fixed by disposing the objects in Page_Unload method.
protected void Page_Unload(object sender, EventArgs e)
{
if (rpt != null)
{
rpt.Document.Dispose();
rpt.Dispose();
rpt = null;
}
}
However, the same code gives two problems in AR v12.
- The report is not rendering. If the above code is removed it works fine.
- The report is still in memory.
Any solution?