out of memory Exception - Smooth = true.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Avijit
Newbie
Newbie
Posts: 72
Joined: Tue Sep 15, 2009 12:00 am

out of memory Exception - Smooth = true.

Post by Avijit » Wed Mar 31, 2010 3:31 pm

I need to draw a range of series having two series with more than 36000 datapoints each using the seriesbandTool along with “smooth property as True"
At some cases the smooth property as True throws an “out of memory Exception” Not reproducible for some large data but it occurs for some other large data sets.

Is there any known issue with smooth property as True? or is there any work around for such an error.?
:roll:

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: out of memory Exception - Smooth = true.

Post by Sandra » Thu Apr 01, 2010 1:43 pm

Hello Avijit,

I could reproduce your problem and I have added it in bug report list with number [TF02014776]. We will try to fix it for next versions of TeeChart.Net.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: out of memory Exception - Smooth = true.

Post by Sandra » Thu Nov 25, 2010 12:54 pm

Hello Avijit,

I communicate you that bug (TF02014776) isn't a TeeChart problem. It's a machine related problem. Have a look at the following code:

Code: Select all

   private void InitializeChart()
   {
     int noVertices = 14657;

     double[][] Matrix = new double[noVertices + 1][];

     try
     {
       for (int i = 1; i <= noVertices; i++)
         Matrix[i] = new double[noVertices + 1];
     }
     catch (OutOfMemoryException e)
     {
       MessageBox.Show("NO " + e.Message);
     }
   }
14657 is about the maximum limit on my machine.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply