473,513 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mem leak using Crystal Reports

I'm trying to export a Crystal Report to a .pdf using the following code
cr = New CrystalReport()
cr.FileName = OutputFilename
cr.report = rpt
cr.ds = ds2
cr.ExportType =
CrystalDecisions.Shared.ExportFormatType.PortableD ocFormat
cr.Export()

This code is in a loop that exports many reports. The computer eventually
runs out of memory. If I remove the line cr.Export( ), memory usage is
stable. I call the Dispose( ) method for any object that has one, and set
all references to "Nothing" after cr.Export( ). I have even explicitly
called GC.Collect( ), but have been unable to free the memory. Can anyone
point me in the right direction?

Thanks in advance,
Tom Costanza
Mar 31 '06 #1
0 1000

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5918
by: rAGHU | last post by:
Hi, In my ASP.NET web application project we need to design crystal reports with Crystal Reports version 8.5 enterpraise edition(Please Note:It is not the Crystal Reports that comes with...
13
15114
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
7
1499
by: Xing | last post by:
Hi all I am not an ASP developer but I am in a support case for our customer who's experiencing resource problems that seems to be ASP.NET related. Basically our app is built on .NET Framework 1.1...
1
1357
by: Don Wash | last post by:
Hi All! I'm very very new to DotNet and doing my first Report project. I'm planning of using VS.NET built-in CrystalReports to create reports. I'm probably really navie and ignorant to ask this...
2
1725
by: Rod | last post by:
We've got an old VB6 application we wrote years ago, that we're working on converting parts of, to an ASP.NET application. So far, the work is going well. Now I'm looking at trying to convert...
2
5142
by: RaptorsFan | last post by:
aspnet_wp process accumulates memory usage up to the point when it's more than 60% of available RAM (2G) and none of .NET applications function. Sometimes user is able to login, navigate between...
0
1395
by: Bryan | last post by:
Hello all. I have an ASP.NET 2.0 App that uses a couple crystal reports. I'm noticing a 2-3 MB jump in the memory size of the worker process each time a report is ran. On the server this is...
0
1605
by: Doug Odegaard | last post by:
We are implementing a Crystal to PDF solution using framework 1.1 on a Win2K3 server using application pools. Our Crystal version is the developer edition and not the .NET bundled version. The...
22
9303
by: Peter | last post by:
I am using VS2008. I have a Windows Service application which creates Crystal Reports. This is a multi theaded application which can run several reports at one time. My problem - there is a...
0
7259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7523
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.