Error of "Not enough memory for operation" when exporting Crystal Report

Hi,
I am getting errors in Business Objects when I try to export a report from its native Crystal format to PDF (or Word).  This is only happening in one of our many reports.
When I try to export within the Business Objects viewer (in Crystal format), then click the "Export this report" button, and select "Adobe Acrobat (PDF) as the File Format, click OK, I get the following error:
CrystalReportViewer
handleCrystalEvent failed 
WebReporting.dll error '80004005'
Not enough memory for operation.
/InformationCentral/Viewers/crystal_viewer.asp, line 39
This also occurs if I try to export to PDF within the Crystal Report designer as well, but the error is a bit different:
"Failed to export report" then "Memory Full".
Strange one this is....

Hi Peter,
Could you try to minimize the records in the report by giving some additional conditions?  May be like give the date range or select for few regions etc?
Try in such a way so that your report downloads less number of records.
Hope this helps.
Regards,
Rashmi

Similar Messages

  • Error Message: Not enough memory for operation.

    Hi All,
    I'm having problem when try to connect to Oracle DB, check my details as below :
    Connector : Microsoft ODBC for Oracle
    Database Expert : Using Stored Procedure to populate data to excel.
    Server Used: DBCCSWST125.reportjobserver 
    Error Message: Not enough memory for operation
    Problem occurred when I tried to use stored procedure in my rpt file.
    Thanks.

    You are using multiple versions and it's still not clear what is happening but the CR 2008 reports should not be published to BusinessObjects Enterprise XI R2. CR 2008 has functionality that XI R3 does not support.
    Create reports in CR XI R2 for BOE R2.
    Also, your version of Enterprise has not been patched. You should have a Support contract which will allow you to get into our Gated site and update BOE. Then it may work but check with your administrators first before patching BOE.
    Thank you
    Don

  • Error:500 Not enough memory for operation Export.send PEGetExportOptions

    I get this error when trying to export a report to a .pdf file.  Has anyone ever seen this error?
    Thanks,

    Hi Bill,
    The version is the original release of CR 10 which means no patches installed. The next issue is that error number is typically returned by crpe32 which was deprecated in CR 9, meaning CR 10 isn't supported and no one should be using it except for 4 OEM Partners who continued to be licensed until they had time to migrate to the new engine. It could be they wrote their software in Delphi which sort of supported that engine using the CR VCL component.
    So much time has passed that company may have at one time have been part of one of the 4 but I can't say for sure now or the are using the VCL.
    The only option you have now is to ask them for support. Or if they have an updated version or patches available.
    I would suggest installing patches but that could completely break their software so I don't recommend doing it.
    See if they suggest a solution.
    Thank you
    Don

  • Scheduled report failure - Not enough memory for operation

    Crystal Reports Server XI R2 SP4
    SQL Server 2005
    Hi,
    I have a report that is scheduled. Most of the times it runs successfully, however for one parameter setting I continuously get the following error mesage:
    Status:  Failed
    Printer:  The instance is not printed.
    External Destination:  Copy the instance with default filename to the directory '//10.2.25.24/polling_in'.
    Creation Time:  03/04/2009 05:00
    Start Time:  03/04/2009 05:00
    End Time:  03/04/2009 05:00
    Server Used:  BWAQTSREP-1.reportjobserver
    Error Message:  Not enough memory for operation.
    Why would this happen, and how can I resolve? I can run the report successfully in Infoview.
    Thanks!
    Penny

    Hi Penny,
    do you run the report successfully in the infoview using the same parameter setting?
    If it does please try to reschedule the report and monitor (using the task manager) the memory consumption on your windows server.
    Please also make sure that there is enough disk space available on both your server and the destination directory ( '//10.2.25.24/polling_in'. )
    Regards,
    Stratos

  • Reproducible error when loading many reports (Load report failed - Not enough memory for operation)

    Environment:
    Win 7 SP 1
    Visual Studio Pro 2012 Update 4
    Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
    Report created in Crystal Reports XI Release 2 (11.5.8.826)
    Targeting x86 .NET 4.0
    Scenario:
    We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
    Sample Code to illustrate the problem:
    I did this as a WinForms project since our main program is using winforms.
    References added:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.ReportSource
    CrystalDecisions.Shared
    CrystalDecisions.Windows.Forms
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
                int i = 0;
                try
                    while (true)
                        i++;
                        ReportDocument report = new ReportDocument();
                        report.Load("Blank.rpt");
                        report.Close();
                        report.Dispose();
                catch(Exception ex)
                    MessageBox.Show(i.ToString() + ex.Message);
    Exception:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
    Not enough memory for operation.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27

    int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
    I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
    I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
    The "real" code as I said does stuff in sections and in a certain order.
    For each report I need to export based on rows in a table
    1. Creates a new Report Document
    2. Loads the report document with the report
    3. Creates a dataset of the data to display
    4. Calls SetDataSource
    5. Calls Report.ExportToDisk
    6. Disposes DataSets
    7. Closes/Disposes Reports
    To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
    1. Creates a new Report Document
    2. Loads the report document with the report
    7. Closes/Disposes Reports
    At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
    So my order of operations becomes...
    1. Creates a new Report Document
    2. Loads the report document with a blank report
    7. Closes/Disposes Reports
    So you'll see this is exactly why I wrote this test the way that I did.
    I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
    There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed.

  • Memory full.Not enough memory for operation.

    To the Report Design Team,
    It has been suggested that I post this issue here based on another thread I started: Re: Memory full.Not enough memory for operation.
    The template contains a single 24 bit PNG image as a background in the Page Header section, plus 9 image records from a SQL Server image field over 3 pages (3 images per page).  The images are all JPG at 3000x2000 (digital camera).
    To summarize, we are experiencing three problems.
    1. CR2008SP2 Designer issues a Memory Full error when Exporting to PDF.
    2. Using a 3rd party PDF Printer (Bullzip PDF) and CR2008SP2 Designer generates a PDF, however, the CR2008SP2 API throws a "Memory full" exception suggesting Designer and API are different (see stack trace in linked message above).
    3. With only 3 images on 1 page, CR2008 Designer Export to PDF takes 110 seconds to generate a 24MB PDF while our third party PDF Printer generates the same report in 17 seconds and 580KB.
    Edited by: Don Williams on Sep 30, 2009 6:43 AM

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • Getting not enough memory for operation

    webpage displays error
    not enough memory for operation
    description: an unhandled exception occured during the execution of the current web request. Please review the stack for more information
    excewption details: system.outofmemoryexception: Not enough memory fior operation
    this is when printing report to a DOC file or PDF file

    hi
    I have faced a similar issue, the root cause of it was like we have identified few crystal report formulas that might lead to memory issues and corrected them
    for example
    assigning a value to an array
    samplearray<i> := "value";
    need to ensure that the i is an integer and that it should not be less than 0 or fraction ..
    i have just given some example above..
    so the solution could be to identify the formulas that could run into such sort of memory issues and fix them.
    Please let me know if this helps.
    Thanks,
    Krishnam

  • Export report Excel-Data Only works not,'not enough memory for operation'

    Hi all,
    we are using in our Software CrystalReport Version 11 Service Pack 5. Crystal report is intergated for .NET. We can not uninstall CrystalReport Version 11 Service Pack 5 to install another Version or another Service Pack.
    We are haveing problems to export report as Excel 97-2000 Data Only, "not enough memory for operation" message pop up after you try to export report as Excel data Only.
    Export Report as PDF is working fine.
    This problems are on Windows XP Sp3 and Vista. On Windows 7 we have no problem.
    Please, can somebody help me solving this problem, or to finde a workaround for Windows XP. Memory from PC is not the problem.
    Mit freundlichen Grüßen / Kind regards
    Odisej Nujiq

    Odisej, unfortunately, processes such as remote sessions are reserved for phone cases only. You can create a phone case here;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Also, just as an FYI, see the blog [What are these 'support' forums good for anyhow?|/people/ludek.uher/blog/2011/04/07/what-are-these-support-forums-good-for-anyhow]
    Without phone support, you are left to do most of the foot work your self. On the forums, we can provide suggestions and guidance, but that is about it.
    Couple of things to note though. If you do create a phone case, one of the 1st things that you will be asked is to update your app to SP6 - unless you can prove the same issue exists with SP6 (see more bellow).
    Something I would recommend you try is to take an XP box, install SP6 on it, then install your app on it. If this works, your options are highly limited. E.g.; SP6...
    One other utility that may be worthwhile to use is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx]. Run that on the XP box. In the logs, look for "Access Denied" error messages. Look for load or other issues with crxf_xls.dll, exportmodeller.dll and crtslv.dll.
    From your responses I am still not sure if you actually did run Modules and compared the results. This is much, much easier to do than working with ProcMon and I'd start there. To summarize, my troubleshooting plan (irrespective of the limits imposed on you) would be:
    1) Use Modules as this is the easiest thing you can do
    2) Try this with SP6 - more work that (1) above, but at least you are on the latest. If this works, banging your head into an SP5 wall will do you no good (like I said, irrespective of what ever limits...)
    3) Use ProcMon - not too difficult, but time consuming as you will be looking over 100s, possibly 1000s of lines and not being familiar with details of CR, this will take time.
    - Ludek

  • Server has not enough memory for operation (Some .rpt files not removing from Temp folder )

    We have web application developed in ASP.NET 4.0 ftramework and published on IIS. And we are using 13_0_8 version of CR.
    I am creating report files and exporting these as pdf. And I am disposing streams and report documents at the end. Initially, there wasn't any problem and temporary files which are created by CrystalReport were deleting all. But, now requests to the web application increeased to about 50.000 in a day and now some .rpt files are staying in Temp folder and I can't delete them. After recycling application pool all files are removed by IIS. Then, after 1 or 2 hours new .rpt files are creating in Temp folder. And after somewhile, application throws Server has not enough memory for operation. And, IMHO the reason is temp files. Here is the code I am using to export report as pdf.
    Questions:
    1. Is the reason of this exception is temp files in Temp folder?
    2. What is wrong in that code?
    ReportDocument report = DownloadPDF.GetReport(id);
       MemoryStream stream = (MemoryStream)report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
       Response.ContentType = "application/pdf";
       Response.AddHeader("content-disposition", "attachment; filename=" + id+ ".pdf");
      report.Close();
      report.Dispose();
       try
       Response.BinaryWrite(stream.ToArray());
       Response.End();
       catch (Exception)
       finally
      stream.Flush();
      stream.Close();
      stream.Dispose();
    Here is the StackTrace

    Hi Farhad
    At 50,000 requests, you are more than likely running into the CR engine limit. E.g.; you're pushing way too hard... The following will be good reads for you:
    Crystal Reports 2008 Component Engine Scalability | SCN
    (The above doc does apply to current versions of CR - e.g.; no changes.)
    Crystal Reports Maximum Report Processing Jobs ... | SCN
    Scaling Crystal Reports for Visual Studio .NET
    Choosing the Right Business Objects SDK for Your Needs
    Choose the Right SDK for the Right Task
    How Can I Optimize Scalability?
    All of the above apply to your version of CR and thus the next question will be; how to proceed:
    1) Bigger, faster servers will not hurt.
    2) Web farms.
    How Do I Use Crystal Reports in a Web Farm or Web Garden?
    3) Crystal Reports Application Server, or perhaps even SAP BusinessObjects BI Platform 4.1
    Crystal Enterprise Report Application Server - Overview
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Getting " Not enough memory for the operation error " in BOE

    Hi,
    We are using BOE 11.0.
    we try to schedule a new report with multiple database logins for testing in BOE. When we run the report we are getting error like "Not enough memory for the operation error"
    The same report has been executed successfully when we run using Crystal reports developer. The report is fectching less than 10K records from all the databases together.
    Please let me know which is causing the issue and also let me know is there any limit in the number of databases connecting for a single report.
    many thanks in advance for all your help.
    Cheers,
    Suri ;-)

    Hi Sarthan,
    Sorry. I'm new to BOE. We know only scheduling the reports creating folders etc. :-)
    I've seen one parameter "Maximum Cache Size Allowed (KBytes)" and the value for this parameter is 5000.
    If we change it to a big number whether we can solve the issue ? Please suggest.
    Cheers,
    Suri ;-)

  • Not enough memory for Data Provider-Error while creating Data Source

    Hi,
    I am loading data into Master Data_Attribute InfoObject I am getting following error message while creating Data Source under "Proposal" Tab
    "Not enough memory for Data Provider"
    My Master Data InfoObject having 65 attributes
    My CSV file having 15,00000 records
    I am using BI 7.0 version
    If anybody faced this problem. Please share with me
    Thanks.

    Hi
    Here the problem with the space so plz contact ur BASIS people to increase the spae for particular object.

  • AEGP Plugin MediaIO Plugin:MediaIO2 error:0x4 not enough memory to complete this encoding (5027::12)

    I am working on a video project in After Effects CS4 (with Trapcode Particular preset) that's 2:12 minutes long on a Windows 7 operating
    system. I'm finished editing for the most part, but everytime I put the video in Render Queue it renders the video for a few seconds (sometimes minutes) and then stops with this message appearing: "After Effects logged one error: AEGP Plugin Media IO Plugin: MediaIO2 error: 0x4 not enough memory to complete this encoding (5027::12)". After I closed this message I checked the part of the video that did render was where I saved it to be as a normal file on my Desktop. I made this video with 2 compositions: 1 for the actual importing and editing and the 2nd for the rendering and thinning it out (this is because when I import the footage from my camera it's always very wide in after effects) There is nothing particularly abnormal about the video, not very heavy or anything and most of it isn't animated, just film. The size of the source material for the video is about 4.0 to 8.7MB.   
    Computer's Processor: Intel(R) Core(TM)2 CPU  T5500 @ 1.66GHz
    Computer's RAM: 2.00

    First of all, CS4 does not work well with non-production codecs like MP4. Use the Adobe Media Encoder (or something similar) to convert your footage to a production codec (Cineform, DNxHD, Quicktime with the Photo JPEG codec or Quicktime with the PNG codec).
    Second, you're running AE on a system with only 2 GB of RAM? Good heavens, man - no wonder it ran out of memory! Upgrade that to 4 if at all possible. (Upgrade to much more than that if you have a 64-bit OS and plan to upgrade AE ever. Although, on a machine as old and slow as that, you might be better off getting a new machine if you want to do anything serious in AE.)
    Third, what's your exact version number of AE? You should be on 9.0.2 if I recall correctly.
    Fourth, your video shouldn't be looking weird in AE. It's probably misinterpreting the pixel aspect ratio of your footage. Fix the interpretation and you shouldn't have to have a separate comp for changing its size.

  • Error Message "Not Enough Memory to Open Illustrator"

    Hi,
    Im running adobe illustrator cs5 on windows 7 and have previously had no problems. Today however when I opened a pdf I got the error message "Not enough memory to open illustrator" I have searched and cannot find a reason for this error. It now happens nearly every time I open a pdf. I increased my windows 7 virtual memory, however, this does not seem to have any effect. Any assistance would be appreciated.

    Something is blocking PDF handling (a security tool) on the system level and/or one of the shared Adobe components for PDF handling has been updated/ changed, most likely. Do the PDFs properly open in Acrobat/ Adobe Reader? Investigate these things. Also of course simply trash your AI prefs to make sure you are not a victim of tainted config data...
    Mylenium

  • Opening attachments - ERROR MSG - 'Not enough memory or disc space'

    Hi
    I'm trying to open a word .doc from my Entourage email account and it comes up with the error message ' Not enough memory or disc space'. My hard drive has 119 GB free - so I'm thinking it may be a memory issue.
    How do I deal with this/clean up my computer??
    I just turned my computer on for the day and got this message. The only programs I've got running is Safari, entourage, word and adobe reader.
    Thanks.
    Margie

    Have you tried Epson support for that E-Web Print application?
    Also, I am curious if Epson installed an add-on for Firefox for that E-Web Print application? ''Thus prompting you to ask about it in the Firefox support forum.''
    At this point the best I can offer you is a suggestion to reset your printer prefs in Firefox to see if that will help with that issue.
    https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox#w_reset-all-firefox-printer-settings

  • I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I would guess that a TV series takes up a fair amount of storage capacity. It is just a standard message I think that may indicate that you are actually running low on storage space.
    If you go to Settings>General>About how many GBs are specified as being available?  If you are low on space maybe deleting some apps may help.

Maybe you are looking for

  • Problem with games in windows

    I'm having a problem running games, and I can't figure out why it's happening or how to fix it. I'm using a base model Macbook, about three weeks old, running Windows XP Home...first with SP2, now with SP3. I had gb of RAM, but I dropped it back down

  • How to print a report directly on printer

    Hi, anyone, plz help me in finding out, why my report i.e. i m sending directly to printer is getting printed like html codes? Plz help asap. Br, Divya Alok

  • HT1476 my ipod wont charge any more

    my lightning usb cable ripped so i whent and baught a new one it worked fine but after one day it took like 10  hours to completely  charge now here i am now connecting my ipod to a wall outlet charger and it wont charge so im now connecting it to my

  • InfoPackage ... want to load one specific gl acct

    Hi Gurus, I wanted to see if I can load all records related to only one specific gl acct. In InfoPackage in "Data Selection" tab, I was unable to bring Gl Acct InfoObject for selection. What do I need to do? Please help in this matter.

  • What's the error in this snippet? very urgent!

    import java.io.*; import java.net.*; public class HttpClient {      private String msg =null;      private int gsm =0;      private DataOutputStream out = null;      private Socket HttpSocket = null;      private String message = new String("Hello So