When i execute the following code more then once the memory that my app uses is growing. I tested the code with memproof but there seams not to be a memory leak. If this program runs for a few days and executes this code every minute then it uses hunderds MB's.
Anybode an idea. I'm using v6.01 with D5
ChartLine.FreeAllSeries;
ChartLine.Foot.Text.Text := FootText;
Serie := TLineSeries.Create(ChartLine);
ChartLine.AddSeries(Serie);
Memory leak
Hi, Frank.
I'd use slightly different code:
Using this code and TeeChart v6.01 everything worked fine (no mem leaks after several calls to this code).
I'd use slightly different code:
Code: Select all
ChartLine.FreeAllSeries;
ChartLine.Foot.Text.Clear;
ChartLine.Foot.Text.Add(FootText);
Serie := TLineSeries.Create(Form1);
Serie.ParentChart := Chart1;
Marjan Slatinek,
http://www.steema.com
http://www.steema.com