SAP Knowledge Base Article - Public

2465542 - Error: 'Failed to export the report. Memory Full', when exporting a report containing images to PDF format from Crystal Reports

Symptom

  • Failed to export a report to PDF
  • When exporting a report that contains images to PDF fromat from Crystal Reports, it fails with the error:
        
    "Failed to export the report. Memory Full" 

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. In Crystal Reports, create a report off any data source.
  2. Insert multiple pictures on the report.
  3. Refresh the report.
  4. When export the report to PDF format, it fails with the error: "Failed to export the report. Memory Full"

Cause

  • The memory limit for 32bit MS Windows application is 2GB

  • Crystal Reports is a 32bit application, and when exporting the report to PDF format, it reaches the memory limit for 32bit application.

  • This occur when there are too many pictures with high resolution on the report, which consumes more memory. Part of the memory is already taken by the refreshed of the report and saved data, and when exporting the report to PDF format it needs more memory than the limit 32bit application can use.

  • Note: Images in Crystal Reports are converted to BMP format and the conversion process consumes memory as well.

Resolution

  • To successfully export the report to PDF format, perform one of the following:
    • Reduce the picture resolution to reduce the picture size; or
    • Convert the picture to BMP format to avoid conversion.

Keywords

CR, .jpg, .bmp, .png, .ttf, out of memory , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013