We experience Out Of Memory Exceptions when we print TChart (export to PDF) in our concurrent server environment.
I've managed to create an example application.
What I see is, when using ReportBuilder + Standard TeeChart delivered with Delphi, all seems to be OK.
When I install the TeeChart-pro version (rebuild TeeReCompile and RBTeePackageBuilder) and run the same application (rebuilded) I can reproduce 'Out Of Memory' quite frequent.
Precompiled binaries to try: https://we.tl/t-XAJMhrXBrM
To repoduce:
- Open ReportBuilder_Test.exe (one of the 2 different compiled executables)
- Hit button 'Start'
- Exceptions will be logged, if none arise, try some times again.
Until now I didn't get the 'RBuilderTeeChartDelphi' example to break, but the 'RBuilderTeeChartPro' breaks quite easily.
Version info:
Delphi: 11.3.1
ReportBuilder: 22.01
TeeChart: 2023.38-beta
Sourcecode: in attachment (ReportBuilder.zip)
Callstack: in attachment (callstack.png)
Many thanks in advance!