I am trying to render a report and then create a pdf out of it. But on my production server, when i try to execute this code; I get a system out of memory exception.
After analyzing I found that when this code is executed: the worker process goes almost to 2 gb and at peak point throws exception.
Could any one please help me out in this. I have already optimized the report and database objects. also I dont want to make allocate multiple worker process for this. I think I may need to increase the memory allocation of worker process, But HOW!!
Allow me to make a few assumptions;
System.Runtime.Interopservices.marshal.FinalReleaseComObject(Object o);
If you could maybe mention what object exactly are taking up such a large amount of memory? How large is this report?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.