Solved

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

Posted on 2010-08-23
3
1,042 Views
Last Modified: 2012-08-14
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.
0
Comment
Question by:nreich
3 Comments
 
LVL 10

Accepted Solution

by:
itcouple earned 125 total points
ID: 33504299
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
0
 

Author Comment

by:nreich
ID: 33504637
i will test it and get back to you. thank you.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33506322
Did you rebuild a Crystal Report to be a MS SSRS report?

mlmcc
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
permissions for report in mssql reporting services 1 61
ssrs chart? 1 18
Optimization of SQL Stored Procedure 7 67
SSRS Expression 2 31
A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now