Memory Leak
Hi. I have some reports where I generate internally a collection of images that are passed to the report. In cases where I have around 60 or more of these images, it raised a "Out of Memory" exception. If I turn on Memory Leak Detection on EurekaLog, it comes up with the following report:
<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->Call Stack Information:
|Address |Module |Unit |Class |Procedure/Method|Line |
|*Exception Thread: ID=1384; Priority=0; Class=; [Main] |
|
|
|00489576|Catali.exe| | | | |
|00573B10|Catali.exe|frxPictureCache.pas|TfrxPictureCache|Clear |148[3] |
|00573AE8|Catali.exe|frxPictureCache.pas|TfrxPictureCache|Clear |145[0] |
|00573AB0|Catali.exe|frxPictureCache.pas|TfrxPictureCache|Destroy |137[1] |
|00583C17|Catali.exe|frxPreview.pas |TfrxPreviewForm |FormResize |2815[4] |
|005B2FA4|Catali.exe|frxClass.pas |TfrxReport |Destroy |8233[18]|
|00F51D70|Catali.exe|DMod1.pas | |Initialization |6720[4] |
<!--fontc--></span><!--/fontc-->
Sincerily,
Mauro.
<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->Call Stack Information:
|Address |Module |Unit |Class |Procedure/Method|Line |
|*Exception Thread: ID=1384; Priority=0; Class=; [Main] |
|
|
|00489576|Catali.exe| | | | |
|00573B10|Catali.exe|frxPictureCache.pas|TfrxPictureCache|Clear |148[3] |
|00573AE8|Catali.exe|frxPictureCache.pas|TfrxPictureCache|Clear |145[0] |
|00573AB0|Catali.exe|frxPictureCache.pas|TfrxPictureCache|Destroy |137[1] |
|00583C17|Catali.exe|frxPreview.pas |TfrxPreviewForm |FormResize |2815[4] |
|005B2FA4|Catali.exe|frxClass.pas |TfrxReport |Destroy |8233[18]|
|00F51D70|Catali.exe|DMod1.pas | |Initialization |6720[4] |
<!--fontc--></span><!--/fontc-->
Sincerily,
Mauro.