Running RDL results in System Out Of Memory Error

Dom 836 Reputation points
2024-11-07T16:08:16.73+00:00

I'm running SSRS on SQL Server 2016. I'm using Visual Studio 2017 for development (these versions are both restrictions from my company). When running a particular report (RDL) I'm getting the following error. Before I go to my IT department, I just want to know (if anyone can tell) is this something that is typically thrown by the server? Low resources on the server side? I have 32GB RAM on my local PC so I don't believe there is a limitation on my machine. Anyone familiar with this one?

User's image

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,944 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Harsh Mohan Pandey 0 Reputation points
    2024-11-07T17:49:46.3866667+00:00

    While the error you're encountering could be related to low resources on the SSRS server side, it could also be caused by issues with the report's complexity or the SQL queries being used. The best next step would be to investigate the SSRS logs, check server resource usage during the report execution, and optimize any heavy queries in the report.

    If you're still seeing issues after these steps, it may be time to involve your IT department to help analyze server performance and configuration.

    0 comments No comments

  2. ZoeHui-MSFT 37,991 Reputation points
    2024-11-08T05:50:46.9+00:00

    Hi @Dom,

    From the error message, the System.OutOfMemoryException error indicates that SSRS request more memory from the system and the system cannot provide the memory.

    This issue always occur when the computer does not have sufficient memory to complete the requested operation.

    Including the report is too large- returns too much data by the dataset, please have a double check if you are designing a complex report with large data.

    Also check Configuring Available Memory for Report Server Applications

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.