Hello.
There are several ways out of the Out Of Memory exception problem.
Usually, each report template should be compiled to an assembly before rendering. In the .Net Framework the assembly that is loaded in memory and could be unloaded with AppDomain only. So if your project works on server sooner or later you will get out of memory exception.
So our previous advice was to load the report in different AppDomain. But this way cause slow down in 2-3 times.
There are some other ways out. Each of them have its pros and cons.
If you have a fixed amount of reports and they are not changed too often then you could add C# or VB.NET report classes to your project.
If your reports don't have any additional scripts in events or some were else, you could use them in the interpretation mode. This is the easiest way to go, just change the compilation mode property of each report.
Also it's possible to compile report template to assembly and load it once. This way is appropriate if you have not many report templates and use each template many times.
You could read about them in the next articles:
http://support.stimulsoft.com/index.php ... assemblies
http://www.stimulsoft.com/en/documentat ... mblies.htm
http://blog.stimulsoft.com/articles/som ... led-report
http://support.stimulsoft.com/index.php ... rom-memory
Let us know if you have any additional questions.
Thank you.