Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
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 …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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