0

I am using the RDLC report with reportviewer to generate the byte array and it's being rendered as PDF in a web page. After a while when more users are accessing the page to download the PDF array, my server memory is spiking up.

I emptied the with the below code

 bytearray={0} 

and I tried to dispose the reportviewer also with the below code.

 reportviewer.Dispose().

But this also didn't help me. What are the other possibilities to could go wrong?

Ramesh
  • 1,692
  • 2
  • 18
  • 37
  • I have a similar problem with ReportViewer in a WinForms application and I solve using this method: https://stackoverflow.com/a/6221590/2400834 I don't know if it also works with asp.net. – tezzo Dec 12 '18 at 14:42
  • Thanks for the comment and but unfortunately it's not reducing memory consumption. – Ramesh Dec 12 '18 at 16:38

0 Answers0