LoginSignup
0
0

More than 5 years have passed since last update.

c++ builder / TeeChart > Link > Memory Usage keep increasing when auto scrolling chart

Last updated at Posted at 2016-08-18
動作環境
C++ Builder XE4

TeeChartを使ってグラフ描画するソフトでメモリリークが発生している。その一因としてTeeChartの情報を調べてみた。

TeeChartのバージョンは違うかもしれないが、同様の症状があるかもしれない。

page2に以下の記載がある。

by jdsu » Sat Apr 07, 2012 3:54 pm
Using your code together with the GetAxisLabel event, there was no memory leak.
However, I'm unable to access the e.Series and e.ValueIndex.

別途、page2の記載

by Sandra » Thu Apr 05, 2012 2:24 pm
As I explain in previous message your Memory Usage increase because you use AddLabels().

AddLabels()はこちらでは使っていない。

こちらで使っているのはAddXY()のみ。

AddXY()を繰り返す処理に対して、余分な旧データは適宜Delete()している。これによるメモリリークはないと思っているが、TeeChartの不具合があるかは不明。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0