Page 1 of 1

diminish used memory space

Posted: Fri Dec 15, 2006 9:48 am
by 9792995
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

Posted: Tue Jan 09, 2007 11:37 am
by 9232649
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

Thank you, I'll try this ...

Posted: Tue Jan 09, 2007 11:46 am
by 9792995
Hi Johan,

thank you for your response, perhaps it helps.

Helmut