Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: out of memory exception Post Reply Post New Topic
Author Message
gsbalaji
Newbie
Newbie


Joined: 16 Jan 2013
Location: India
Online Status: Offline
Posts: 2
Quote gsbalaji Replybullet Topic: out of memory exception
    Posted: 16 Jan 2013 at 4:24am
Hi,

We have developed a windows application which uses crystal reports for showing the report and allow user to print the same.

It works fine for 15 - 20 reports and starts throwing "out of memory" exception. User has to logout and login again to the application to work on it again.

Any help would really be appreciated.

--
Balaji GS
IP IP Logged
Erigne
Newbie
Newbie


Joined: 16 Jan 2013
Location: France
Online Status: Offline
Posts: 3
Quote Erigne Replybullet Posted: 16 Jan 2013 at 8:39am
Hi,
 
do you use xxx.dispose() and/or xxx.close() after having displayed the report?
 
If not, objects are not deleted and memory used is growing each time you invoke your code.
 
Hope this help


Edited by Erigne - 16 Jan 2013 at 8:44am
Jérôme
IP IP Logged
gsbalaji
Newbie
Newbie


Joined: 16 Jan 2013
Location: India
Online Status: Offline
Posts: 2
Quote gsbalaji Replybullet Posted: 16 Jan 2013 at 7:09pm
Hi,

We tried both dataadapter.dispose(),  dataadapter.close() and we even tried dataadapter.clear() but nothing helps.

Any other possible solutions?????

regards
Balaji GS
IP IP Logged
Erigne
Newbie
Newbie


Joined: 16 Jan 2013
Location: France
Online Status: Offline
Posts: 3
Quote Erigne Replybullet Posted: 17 Jan 2013 at 3:56am
Hi,
 
do you close your report itself?
 
report.close() and/or report.dispose() are usefull too.
 
Regards,
Jérôme
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.