diminish used memory space

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
helmut ess
Newbie
Newbie
Posts: 7
Joined: Mon Nov 06, 2006 12:00 am
Contact:

diminish used memory space

Post by helmut ess » Fri Dec 15, 2006 9:48 am

Hi there,

in one application we use tChart with delphi 6. I have two fastlineseries with about 500000 values and it works fine.
In order to describe the displayed data better, we add about 200 tChartShapes. For every shape beeing created, 3 to 4 MB memory is occupated with result that we need about 900 MB memoryspace, so that the application stops working.

Do you know a solution for this problem ?

regards helmut

Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

Post by Johan Ingemansson » Tue Jan 09, 2007 11:37 am

Hi,

Not sure this helps, but when I had memory problem I changed the series values from double to single, this reduced the memory consumption with 50%(ofc if you have extremly large values, this solutions isnt an option). But in order to change the type of the values, you must have teechart license with source code....

Hope it helps!

Best Regards,

Johan Ingemansson

helmut ess
Newbie
Newbie
Posts: 7
Joined: Mon Nov 06, 2006 12:00 am
Contact:

Thank you, I'll try this ...

Post by helmut ess » Tue Jan 09, 2007 11:46 am

Hi Johan,

thank you for your response, perhaps it helps.

Helmut

Post Reply