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 398 - [TA05013105] We recently upgraded from TeeChart v6 to v8.0.0.3 ActiveX Unicode ver...
Summary: [TA05013105] We recently upgraded from TeeChart v6 to v8.0.0.3 ActiveX Unicod...
Status: CONFIRMED
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: All All
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-04 13:38 EDT by narcís calvet
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 narcís calvet 2013-11-20 11:43:53 EST
We recently upgraded from TeeChart v6 to v8.0.0.3 ActiveX Unicode version and soon noticed a memory leak whenever a graph is visible.

Memory allocation seems to grow 64-80kB on every update, in our application it totals to around 5MB per minute. Memory is not freed when the graph data is cleared. Memory allocation does not grow when the graph is hidden, even if new points are added to it.

This symptom did not occur with previous v6. Only the mandatory changes were made during the upgrade, the way of handling the graphs was not altered. Our application is built using C++, Visual Studio .NET 2003. It is a native (non .NET) Win32 application. I debugged it using Compuware BoundsChecker, but could not find the leak source in our own code.
I uploaded a compiled example program VCTeeChart5, that shows the same problem. First press "Conventional 'Add' with Paging". Then browse thru pages with arrow buttons. Every graph redraw consumes about 10-20kB of memory, that can be seen in Task Manager. To my understanding no new data points are added on browse events so memory allocation should not grow.

I guess you have the same source code, I did not change it at all. Except for VisualStudio had to convert the project to newer version format before compiling.

On my computer the example was installed in folder "C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Control\Examples\Visual C++\Version 6\Add data arrays" [created:2008-06-04T12:38:32.000+01:00 reported by:narcis@steema.com reported in version:Version AX8 Release 8 (TeeChart ActiveX Control)]