How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.

I have developed the small windows based application tool with help of  Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D. 
The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends.  If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
Database objects and crystal report objects are properly used in the tool. The object release commands properly  communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool.  Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
The memory consumption will be reduced once the server restarted or kill the application.
Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
Could you please suggesst how to avoid the memory consumption keep increasing and  how to release the memory consumption  once the crystal object disposed???

Hi Don..
My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
Our client is using a application to help to print their reports. The application is developed with Windows service.
Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock  report) which designed for clients need and the reports will be printed from printer. 
10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running.  Memory cosumption of application will be 160 MB in business hours.
For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB  in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday.  The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process".  If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that  application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
the memory.
Crystal report 2008 Serive Pack 2 setup installed in the server. 
As you said, If Crystal report runtime is not released from memory then memory consumption keep increase???  In service oriented architecture application, how to unload the crystal report runtime??
Do you any fix for this kind of issue??
Willl Crystal report 2008 service pack 3 help on this issue??

Similar Messages

  • Out of Memory issue in crystal report 2008 SP1

    Hi ALL,
    I am facing serious issue in crystal report 2008 SP1.
    When i am click the page setup in crystal report 2008 ,it is prompting like "Out of Memory".
    Because  of this i am not able to see the default printer in the page setup.
    Please give the suggestions to resolve this issue.
    Thanks and Regards,
    Vinay

    Hi Ed,
    What printer are you using as your default printer?
    What happens if you change your default printer to Microsofts generic print driver? Only as a test to remove the printer being the cause.
    Also, Go into Page Setup and check on Dissociate Printer..... and see if that fixes the issue.
    Also, include all your OS version and patch level, Status of DEP, anti-virus turned off ( disconnect from your network while doing this test ) and Windows Firewall or any third party firewall and close all other software running.
    Thanks again
    Don

  • How to get Description of parameter filed in Crystal report 2008

    Hi expert,
    I am creating a crystal report from Query ,which is created in BEX    Query designer 7.
    In query designer i have some selection variable.
    The requirement from clint is that they want to see what value is selected for all  variable.
    when i tried to put all parameter field in crystal report it is showing only Technical name of value selected not  description and also it show only for variable which is single value variable  not for the range value variable and multiple selection variable.
    can any one help me How to get description of value in report and can it is possible to show Range value and multiple value for a particular variable .
    i am using Crystal report 2008 SP3 version.
    Thanks and regards
    devendra

    Moved to BEx forum

  • Issue with crystal reports 2008 clickonce fix pack 1.7

    Hi,
    When we try to extract the crystal reports 2008 clickonce fix pack 1.7 then we get a message saying that the zip file is corrupt. Anyone got this problem or has a solution for it ?

    Hi;
    It should be updated in the next few days. In the meantime, You can use the following download. It contains the msi and should work for you as well
    https://smpdl.sap-ag.de/~sapidp/012002523100007863642009E/cr120_fp17_redist_install.zip
    Regards,
    Jonathan

  • How to acheive the purchase order items in Crystal report

    Hi
          In crystal Report am using purchase order layout ,how to remove the unwanted space(i'm using only one item like cement alone so lot of space in page 1 )below screen shot show the clear view how to remove this using formula.if suppose am using 5 items that space will cover ,but for 1 item lot of empty spaces.
    Regards
    Vinoth

    Hi Vinoth,
    Please follow below Steps.
    In Crystal Report for Report Footer Section -- Report >>> Section Report >>> Print at Bottom of Page >>> Uncheck
    Please check attachment also.
    hope thid help
    Regards::::
    Atul Chakraborty

  • How to get the coloumns (fields) width in crystal report

    hi,
    how to get the coloumns width, date(get and set) and page size in crystal report using ras sdk .
    thanks

    Thanks

  • Oracle 10g olap cube connectivity issue using Crystal Reports 2008

    Hi
    Kindly help me out with a solution. I have created a cube in oracle 10gR2 database using Oracle Analytic Workspace Manager. I am trying to connect to this cube using Crystal report Olap datasorces. But I am only getting 4 options to connect to Hyperion Essbase, HOLOS Cube, Microsoft OLEDB, Microsoft OLAP Analysis Services 8.0 and 9.0.  I am not getting any option for connection to Oracle OLAP. How do I do that or if it does not support kindly let me know.
    Thanks in advance
    Troyee

    Hi Troyee,
    I have discussed the issue with OLAP engineer and he told me that connectivity to OLAP cube is not supported.
    and please next time address OLAP questions to the following category:
    Expert Forums » Business Objects » Other Business Objects Products
    (see the relevant category description)
    Vitaly Izmaylov
    Crystal Reports Design forum moderator

  • How do you insert a "prior period" in Crystal Reports 2008

    I am constructing a income statement that compares this current period versus the same period from last year.  I used the parameter field and filter list for one time period.  Is it possible to have a comparison time period on the same report.
    For example Revenue and Expense amounts for the 2nd Qtr of 2010 and on the same report on the next column 2nd Qtr Revenue and Expenses for the 2nd Qtr of 2009?
    Thanks for any help
    jim

    Not sure how your parameters are working but assuming you have a date range and you enter
    01/01/2010, 31/03/2010
    Your select statement will look like
    (DateField = {?daterangeParam} or
    datefield in dateadd("yyyy", -1, minimum({?daterangeParam}) ) to dateadd("yyyy", -1, maximum({?daterangeParam}) ) )
    Wrap in brackets to include other filters, this should get parsed to SQL with out any impact on performance
    Ian

  • Security issue in Crystal Report 2008 for SAP B1

    Hi Friends,
                     I want to hide the Query which is used in my report from the end user,I don't want they can see and edit the report after exporting from sap b1.
    Please help.....its urgent
    Thanks.
    Andy

    Hi Andy,
    SAP B1 is an OEM version of CR 2008. I can't move your post so please mark as answered and post your question to this forum:
    /community [original link is broken]
    Thank you
    Don

  • Not able to get the tables in crystal report 2008

    Hi,
    I am using crystal report 2008 and trying to connect MS SQL using OLE DB (ADO) connection. After giving all DB credentials data base tables are not appearing in the connection. how to get the tables for selection in crystal report 2008.
    Regards,
    Sree

    In the CR Designer, select the connection and press the right mouse button. Select Options in the context menu and check if there is an entry in the Table name fiel. Maybe you have a placeholder there that does not match the names of the tables in the database. Just remove it, close the window by pressing OK and refresh the connection browser (press F5). Unfold the connection again and check if you can see the tables now.
    Regards,
    Stratos

  • How is the best way to install the latest version of Crystal Reports 2008

    I have been downloading for hours all the service packs, hot fixes, fix packs  and chasing my tail for way too long on this.
    I keep getting errors about a file being out of sequence.... I assume there is a very loooooong list of fixpacks that need to be applied!!!    This is such a nightmare.
    Is there a simple way to just install the latest version of 2008 Crystal Reports?
    If I have to follow a long sequence of updates, is it written down anywhere?
    The reason for this in the firstplace is because I moved to Visual Studio 2010  with .Net 4.0 framework and now none of my crystal reports work.
    I am using the full version of Crystal Reports 2008 installation, not the one built into Visual Studio
    HELP!!!!!!

    When I try installing SP2 it starts the update and just locks up... no errors... just sits there.  I let it sit for about an hour.
    Is it compatible with Windows 7 ?
    When I tried installing a fixpack, I kept getting errors that a file was out of sequence.   I will try uninstalling all of Crystal and just reinstall in this order:
    1. Crystal Reports 2008 from CD
    2. Install Crystal Reports 2008 SP2  
    3. Install FixPack 2.6
    This is what I tried the first time and got all the errors, but I will try it again...   is this correct?  
    (I don't need to install SP0 or SP1 or any other Fixpacks.... Correct?)

  • How to export subreports along with main reports in crystal reports 2008

    Hi
    I am having serious issues in Crystal Reports 2008. While I was trying to export one of my reports(having 3 subreports) in to a pdf file,well only the main report data is getting exported.
    My subreports are  ON DEMAND SUBREPORTS.
    Kindly help me in resolving this issue.
    Thanks in advance
    Sam_dwh

    Thanks Debi for your answer.
    Well now I am thinking of publishing the reports which I have generated ,so that client need not have to install crystal reports individually in their computers.But I don't have BO portal as such for publishing.
    What will I do?

  • Where can I find the latest upgrades for Crystal Reports 2008

    Hello all
    My question is rather simple, I need to know. Where can I find  the latest upgrades for:
    1) Crystal Reports 2008 Merge Modules
    2) Crystal Reports 2008 Runtimes.
    Are they incremental upgrades ????
    Thanks in advance..
    ADrián.-

    Downloads page is here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    [This|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008-VersionandDownloadinformationforSPsand+FPs] wiki tracks latest SPs and FPs with download links.
    [This|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki has links to runtime (I believe I have not updated this for FP 2.5 yet, but the downloads page has these)
    And yes, they are incremental.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • When I send open office documents to a PC user (even saved and sent in the word format), the document reaches with serious format changes and is rendered unusable to the PC user. How to overcome the problem??

    When I send open office documents to a PC user (even saved and sent in the word format), the document reaches with serious format changes and is rendered unusable to the PC user. How to overcome the problem??

    I don't use OpenOffice (I have it on my internal just to play around with, but seldom even open it). I do use MS Word and have few problems sharing files - it's usually a font issue so I tend to use MS fonts for documents that I know will need to be shared.
    Unless you need to make collaborative changed to the document, you could always save it as a pdf file. With Acrobat Pro you can even save a pdf file to a Word document with very little change in formatting.
    If I were you - and you have a need for .doc or .docx files to travel and play nicely - I'd just invest in MS Office. If you don't have to send a Word file, try pdf.
    Clinton

  • Memory leakage issue in Solaris

    Hi Team,
    Hope you doing good!!
    I am facing a memory leakage issue in the Solaris server configured.
    details:
    1. Frequent Increase in Memory Utilization
    2. Major Faults in System Events 189084 & Increasing.
    Server cofg.:
    Solaris 9 version 5.9,Sun Java Web Server 6.1,JDK 1.5,Oracle 10g.
    I really appreciate if you give conclusion for the above behavior of server ASAP.
    Thanks,
    Vivek
    +919990550305

    Please test it with release version as there may be a lot of things which are fixed after beta.
    Also please note down the statement cache size your application was using earlier. Starting from 2.111.7.10/2.111.7.20, the statement cache size is automatically tuned by default. This feature is called self tuning. You may disable self tuning and specify your own statement cache size as usual. To know more about self tuning, please consult ODP.NET Developer's Guide.
    I would suggest that you first upgrade to the release version 2.111.7.20. If that does not solve the problem, you may either
    - specify MaxStatementCacheSize
    or
    - disable self tuning and provide your own statement cache size

Maybe you are looking for

  • Can i use my apple "one on one" service at an Apple store overseas?

    Can i use my apple "one on one" service at an Apple store overseas? Im new to Mac and so I got Apple "one on one" in store training. I been gone a few times to learn about my iMac and Mac Book. Now work is sending me overseas for short term project a

  • Aperture 3 workflow with raw files edited in Capture NX2

    I purchased Aperture as a data management tool. I used to use Expression Media for this purpose but it is not supported with snow leopard. I have many raw files which were edited in Capture NX2. The adjustments to these raw files are not reflected up

  • Quantum Gateway

    Here's a question. Since I have fixed my issues that I was having with my Quantum service by getting the Quantum gateway. Why should I have to pay the 6.99 rental fee for the Quantum gateway. Since without it my service will not work as expected. I w

  • Help with new database?

    I need to track several clubs, including officers, dues paid, etc.  Should I make one sheet with all clubs or each club on a sheet?

  • How to monitor hard disk in labview 8.2

    Hi , I want to using labview 8.2 program to  monitor hard disk(one folder in hard disk)  for example one application generate a result file to the folder then it  will be captured  by labview program. thank you Solved! Go to Solution.