Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 397 - [TA05013955] Having a chart with a populated series, exporting it many times (does...
Summary: [TA05013955] Having a chart with a populated series, exporting it many times ...
Status: CONFIRMED
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Exporting (show other bugs)
Version: unspecified
Hardware: All All
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 11:42 EDT by yeray alonso
Modified: 2013-11-20 11:43 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2013-11-20 11:43:49 EST
Having a chart with a populated series, exporting it many times (doesn't matter on the format: emf, gif, jpg, pdf,...) it seems that the memory demanded isn't liberated because the memory demanded for the application increases constantly.
This doesn't happen in VCL. And in AX 8004 the memory remains stable at about 10MB.
To run the example, create the folder "C:\tmp\files". And have a Task manager opened to see the memory on demand.
Private Sub Command1_Click()
  For i = 1 To 5000
    TChart1.Export.asMetafile.SaveToFile "C:\tmp\files\" & Trim(Str(i)) & ".emf"
  Next i
  
  MsgBox "Finished!"
End Sub
Private Sub Form_Load()
  TChart1.AddSeries scPoint
  TChart1.Series(0).FillSampleValues 25
End Sub
The forums topic:
http://www.teechart.net/directline/viewtopic.php?f=4&t=158 [created:2009-03-11T11:42:32.000+01:00 reported by:yeray@steema.com reported in version:Version AX8 Release 8005 (TeeChart ActiveX Control)]