Solved

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

Posted on 2010-08-23
3
1,050 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 100

Expert Comment

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

mlmcc
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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