CacheBlobs and Batch Printing
We have trouble using ReportBuilder in "Batch Printing" use. Example: a
Customer Prints 800 Work Orders, the system blows up at around 500. We have
tried many things and believe it is a memory usage problem since the app
runs a table of Orders to be printed. The print of each uses 5 queries for
the data for the bands.
Question: CacheBlobs is set by Delphi to default True. When does Delphi
release the memory? When the form is closed? When the app is closed?
Never? What statement releases any memory?
Customer Prints 800 Work Orders, the system blows up at around 500. We have
tried many things and believe it is a memory usage problem since the app
runs a table of Orders to be printed. The print of each uses 5 queries for
the data for the bands.
Question: CacheBlobs is set by Delphi to default True. When does Delphi
release the memory? When the form is closed? When the app is closed?
Never? What statement releases any memory?
This discussion has been closed.
Comments
ReportBuilder simply opens the dataset and traverses it, using dataset
methods such as First, Next, GetBookmark, GotoBookmark. ReportBuilder does
not do any low level data access calls.
From the error description, sounds like you are using the BDE. I recommend
that you consider switching to a more modern data access solution. You will
avoid these types of issues.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com