SAP Knowledge Base Article - Public

1213388 - Error "Out of Memory" when calling ADO reports using ASP and the RDC

Symptom

  • An Active Server Pages (ASP) application uses the ASP Reports Server.
  • The ASP application is designed to run a report based on an ActiveX Data Objects (ADO) record set.
  • The following error message is intermittently displayed: "Out of Memory".

Cause

The session objects were not being destroyed after each execution of the application.

Resolution

The server computer had plenty of hard disk space available and the total commit charge (amount of RAM being used) for the computer did not exceed the available amount.

The error was resolved by adding script to destroy all of the session objects being used in the application after each execution of the application. For example:

Set Session("oApp") = Nothing Set Session("oRpt") = Nothing Set Session("oPageEngine") = Nothing Set session("ParamCollection") = Nothing 

See Also

For sample ASP code to use as templates for your Crystal Reports web applications please download the file ASPXMPS85.exe from the Downloads area of our web site.
For general troubleshooting tips on memory errors in Crystal Reports, refer to the technical paper Troubleshooting Tips for various types of memory errors.

Keywords

ASP RDC SESSION VARIABLES ADO MEMORY OUT ACTIVE SERVER PAGES CRAXDRT.DLL Seagate Crystal Reports ASP Reports Server Memory Allocation Session Variables , c2009434 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 8.0