Report Viewer Generates "System Out Of Memory Exception" Error

Q - I received the following error when running the line item auditing report for 1/1/15 to 11/30/15 for only the WEB-USER account:  

Exception of type 'System.OutOfMemoryException' was thrown.

See example below.  What should I do?


A - This report is over 10,000 pages. This kind of problem can occur when you have a large report like that. What happens is that our Report Viewer (.Net code) makes a memory request to the OS to load the report into the memory and the OS gives an error code of insufficient memory back to our .Net code. That's what you see here. If you restart your machine, there's a chance you can load this report into the report viewer again. This is because the OS may have a bigger continuous memory block after the reboot.

The other alternative is to use Notepad to look at the report. We have noticed that Notepad can handle memory better and is less likely to run into an insufficient memory issue. See the following example for using NOTEPAD to view the report:


Elliott Version 8

  1. Elliott 8 Directory Structure and NTFS Rights
  2. Instructions to Install Elliott V8 on Top of Elliott V7
  3. I Am Not Able to Archive V7 Reports in V8 Spooled Reports Manager
  4. Can't Start Because Api-ms-win-crt-runtime-1-1-0.dll Is Missing After Upgrade to Elliott 8.1
  5. Receive Procedure Entry Point InitializeCriticalSectionEx Could Not Be Located After Upgrading to Elliott 8.1
  6. How to Add Items to The "Most Used" Folder in Elliott 8.0
  7. Elliott Report Viewer Has Stopped Working
  8. Outlook Email Address Book Is Not Supported in Elliott V8
  9. Support Function Keys through Scanning Barcode
  10. How to Run Elliott V8 on Tablets or Mobile Devices
  11. How Do I Configure Elliott V8 Email (SMTP) Settings?
  12. Report Viewer Generates "System Out Of Memory Exception" Error
  13. Startup Elliott V8 and Receive Message: In NWSMDDFM, Unable to Open DDF Files
  14. Problems with Tilde ~ Character in Elliott V8
  15. Receive "Unable to validate install dir. Exception: Not found" During Elliott V8 Installation
  16. How to Delete or Customize User Folder in Elliott 8 Control Center
  17. Elliott V8.0 Report Viewer Received "Specified File Does Not Exist" Message
  18. Deferred Process in V8 Runs Right Away
  19. SMTP Email Log in Elliott V8
  20. EL800CC Elliott V8 Control Center
  21. EL800CF Configuring Elliott V8.0
  22. EL800RV Elliott V8 Report Viewer
  23. NOTEUPDT Elliott V8.0 Continuous Notes Enhancement for V8.0
  24. Sales Desk Shows Blank GUI Order Inquiry Screen for One User
  25. V8Notes Continuous Notes Enhancement for V8.0
  26. In Elliott 7 We Are Able to Change Note Type; However It Is Grayed Out in Elliott 8
  27. How to Access Archived Reports
  28. Continuous Notes Enhancement for V8.0
  29. Configuring Elliott V8.0
  30. Elliott V8.2 Release Notes: Introduction and Requirements
  31. Introduction to Elliott V8.0: Section 1
  32. Introduction to Elliott V8.0: Section 2
  33. Introduction to Elliott V8.0: Section 3
  34. Introduction to Elliott V8.0: Section 4
  35. Introduction to Elliott V8.0: Section 5
  36. Introduction to Elliott V8.0: Index
  37. Spooled Reports Manager Error Due to Incomplete Windows Update
  38. Set Up Elliott SMTP Email Settings to Work with Outlook or Office 365
  39. Feature - New Option to Create Email Logs with User ID in File Name
  40. Feature - Prompt Before Sending Event Email in V8
  41. Does Elliott V8.x Support Additional Fonts To Be Added?
  42. How to Set Up SRFAX with PDF PostOffice
  43. Report Viewer Stops Working - External Component Has Thrown An Exception
  44. How to Run Elliott V8 with Traditional 7.5 Menu Interface

Feedback and Knowledge Base