Using Delphi 7 , TeeChart PRO v2012.05.120327, with source.
I have an issue where a chart that actually has nothing on it, eventually freaks out and hogs up memory to point of crashing (1.4gb)
Chart has two THighLowLineSeries in it. Which in my case, it should be nothing in them yet.
It seems to happen after resizing the chart a few times.
It gets stuck in a while loop it looks in TeEngine.pas
Line 5710
While tmpValue>=tmp Do
begin
....
tmpValue is always 0
tmp = -1e-12
soooo, it stis there doing the same thing over and over until it out of memory.
I have not tried to goto 2014 yet, as every time I upgrade teechart after long periods of not updating, it usually is a painful process of fixing things and testing everything all over again.
Is there a fix for this? Or going to 2014 the fix?
2012 VCL Out of Memory Error
Re: 2012 VCL Out of Memory Error
Hello,
I'm trying to reproduce the problem with TeeChart v2012.05, Delphi 7 and the following code but I can't:
I'm resizing the form to see if the application crashes or if the memory grows in the Task Manager, but it stays around 800 Kb.
Could you please try to arrange a simple example project we can run as-is to reproduce the problem here?
I'm trying to reproduce the problem with TeeChart v2012.05, Delphi 7 and the following code but I can't:
Code: Select all
uses Chart, TeeHighLowLine, TeeConst;
var Chart1: TChart;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1:=TChart.Create(Self);
Chart1.Parent:=Self;
Chart1.Align:=alClient;
Chart1.Title.Text.Text:=TeeMsg_Version;
Chart1.View3D:=false;
Chart1.Legend.Visible:=false;
Chart1.AddSeries(THighLowLineSeries).FillSampleValues();
end;
Could you please try to arrange a simple example project we can run as-is to reproduce the problem here?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |