NoLogic10
May 23rd, 2005, 05:30 AM
I am working on a Windows Application (C#) and invoking crystal reports and exporting the same to Excel.
While doing so, the memory that my application is using is increasing, but is not reducing (ie memory is not released) after the process is over. I have seen this in the Task Manager.
I am disposing the crystel reports object and making the excel objects as null.
And also done the following :
GC.Collect();
GC.WaitForPendingFinalizers();
But still the memory is not getting released after the reports are run.
How can I get back the memory that is used by the application become same as before I have run Crystal Reports and exported to Excel.
Thanks.
While doing so, the memory that my application is using is increasing, but is not reducing (ie memory is not released) after the process is over. I have seen this in the Task Manager.
I am disposing the crystel reports object and making the excel objects as null.
And also done the following :
GC.Collect();
GC.WaitForPendingFinalizers();
But still the memory is not getting released after the reports are run.
How can I get back the memory that is used by the application become same as before I have run Crystal Reports and exported to Excel.
Thanks.