Question : Error occured while running a report. (Exception Of Type (System. OutofMemoryException) was thrown)

I am running a report in SSRS 2008 and error occured saying '(Exception Of Type (System. OutofMemoryException) was thrown)'.

It is stored procedure connected to the report. And this stored proceedure consists of small functions and subqueries which is making the report to run slow.

As all the functions and sub queris are needed, they can't be tweaked.

the total no. of records when (stored procedure) executed in sql server are 1673 records.

Just an FYI - This report runs fine from 'crystal report application' but times out when run from 'crystal report viewer'.

Please give any suggestion to run it successfully through SSRS 2008.

Answer : Error occured while running a report. (Exception Of Type (System. OutofMemoryException) was thrown)

Hi

1673 is rather very little.

Several things... Check if you have latest SPs, Might be worth checking how much memory is free before you run the report. You might also try cretating dummy report with one dataset. The dataset will execute even if you don't have anything on the report, see if it runs without giving the error.

Regarding tweaking.... if you run subqueries (usually very slow) then usually you can tweak it :)

Regards
Emil
Random Solutions  
 
programming4us programming4us