Solved

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

Posted on 2010-08-23
3
1,051 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 101

Expert Comment

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

mlmcc
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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