Search found 22 matches

by jdsu
Tue Apr 24, 2012 1:56 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, With just the e.LabelText, it is very difficult to work with. I have problem with the Labels shown in front of the 1st Data Point. The first scenario is showing the Time Span. You can see that the Labels shows Negative Time Span. This is not wanted. I only want the label to show from "00:...
by jdsu
Mon Apr 16, 2012 6:55 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, Using your code, which only uses e.LabelText, the memory does not increase in my test application. However, I will need to try it out in our actual application which is more complex as it has both time and non-time series mixed in a single Chart. I'm not sure whether e.LabelText is suffic...
by jdsu
Sat Apr 07, 2012 3:54 pm
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, 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. Upon your advise, I look up the Help on GetAxisLabel event and it says that if the Labels.Style is AxisLabelStyle.Text, Series & ValueIndex will be ...
by jdsu
Thu Apr 05, 2012 1:37 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, I believe the main point is this line : tChart1.GetAxisLabel += new Steema.TeeChart.GetAxisLabelEventHandler(tChart1_GetAxisLabel); So this means that tChart will do a callback even ever it wants the text for the Label? But in the Callback, the parameter : GetAxisLabelEventArgs e Why is t...
by jdsu
Fri Mar 30, 2012 7:53 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, In your sample, your timer is 1000ms interval. At each timer tick, you add 1000 new data point. If the Max Data Points is reached, you removed the first 1000 data points. I wanted the timer tick to be shorter, so that the chart scrolling is smoother, I changed the timer interval to 100ms ...
by jdsu
Fri Mar 30, 2012 5:56 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, Using your sample, it is working very good. I can run for a day without any increase in memory. Using your latest sample, the X axis is now showing the current time. Can you show me how to make it to display elapsed time? ie starting from 00:00:00, then 00:00:01, etc. And in my case, ther...
by jdsu
Tue Mar 27, 2012 6:02 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Narcis,

Thanks for the sample. I have created a new test app using the given sample.
However, the X asis does not display as the elapsed time format.
Can you update the code such that the X asis shows in time format? (Elapsed time)
by jdsu
Fri Mar 23, 2012 3:32 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, I have modified my test application to add another Timer. This timer will be fired once every 5 seconds. In the timer handler, I do a "GC.Collect()". I run the test application again for 1 hour. I still see the memory keep increasing. So it seems that "GC.Collect()" does not help. In my t...
by jdsu
Fri Feb 24, 2012 10:43 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra,

Here is another screen capture after running for 4 hours.
by jdsu
Fri Feb 24, 2012 5:01 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, I installed v4.1.2012.01030 and rebuild my test app. My test machine is running Windows 7, 32 bit. I launch the test app and choose "2 Series". I click Start. At this time the memory shown in the Task Manager (Working Set Memory), it shows 30Mb. 1 Hour later, it shows 41Mb. 2 Hour later, ...
by jdsu
Fri Feb 24, 2012 1:48 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra,

In the download page, the latest version listed is this :
TeeChartNET2011_4.1.2012.01030.exe
January 09, 2012
Build 4.1.2012.01030
File size - 166,26 MB

How do I get the v4.1.2012.01032?
by jdsu
Wed Feb 22, 2012 2:56 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra,

Any updates on why the memory usage keep increasing?
by jdsu
Tue Feb 14, 2012 8:55 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, I managed to borrow a machine for me to perform a fresh installation. On this machine, I installed this version : TeeChartNET2010VSNET2008_4.1.2011.04192.exe It seems to be the latest for TeeChart .NET 2010. I run the test application which I attached in the previous post. My finding is t...
by jdsu
Tue Feb 14, 2012 3:08 am
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, I have attached the Test Application I have used to investigate this memory usage problem. Please see TChartTest1.zip. You can compile and run. Open the Task Manager and note down the Memory usage. Let it run for 2 hours and then note down the Memory usage. Then let it run for another 2 h...
by jdsu
Mon Feb 13, 2012 2:21 pm
Forum: .NET
Topic: Memory Usage keep increasing when auto scrolling chart
Replies: 35
Views: 34384

Re: Memory Usage keep increasing when auto scrolling chart

Hi Sandra, I'm not sure if I have been clear. I'm not comparing whether 3 Series or 30 Series will have more memory increases. I have limit the data points to 1000 by removing older data points each time I add new data points. So I do not expect the memory to keep increasing. We need to be able to r...