How to handle System.OutOfMemoryException error

navuser1navuser1 Member Posts: 1,329
edited 2015-03-24 in NAV Three Tier
Dear all,

I have received the System.OutOfMemoryException error message during the Base report -Service Tax Register execution.

What is the solution ?

Environment :
NAV 2013 R2 IN Database.
Now or Never

Comments

  • davmac1davmac1 Member Posts: 1,283
    If your report sends more than 2GB of data to the Visual Studio layout, you will get this error.
    You can filter to reduce output, run the report from the server if you need all the detail, or if it is a summary report, then change the code so the dataset sends the summary.
  • navuser1navuser1 Member Posts: 1,329
    Thanks for reply.

    How do I know the Size of the data send by the report ?

    End-user applying minimum level of filter to get the result from the report.
    Report execution in the Server system also falls in the same situation.
    Now or Never
  • navuser1navuser1 Member Posts: 1,329
    Code change may be the one solution in some cases.
    Now or Never
  • infonoteinfonote Member Posts: 233
    You can also save directly as PDF or Excel. This should avoid the out of memory error.
Sign In or Register to comment.