SAP Knowledge Base Article - Public

2500525 - Error: 'Not enough memory for operation', when exporting a report to PDF from Crystal Reports

Symptom

  • Export to PDF fails for some reports.
  • When exporting a report to PDF format, from Crystal Reports, it fails with the error:

       "Not enough memory for operation"

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Reproducing the Issue

  1. In Crystal Reports, open a report. 
  2. Refresh the report.
  3. Export the report to PDF format, and it generates the error.

Cause

  • A corrupted OLE Objects on the report caused the error.
  • You can notice the object is corrupted when viewing the report in Design mode, you will notice it does not show the objects, but a placeholder only. 

Resolution

  • To successfully export the report to PDF format, remove, and re-add the corrupted OLE Objects on the report.

    1. In Crystal Reports, open the report.
    2. Under the design tab, locate the corrupted OLE Object, and delete it.
    3. Insert a new OLE Object.
    4. Save the report.

Keywords

crash, failure, adobe format, CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020