Page 1 of 1

out of memory Exception - Smooth = true.

Posted: Wed Mar 31, 2010 3:31 pm
by 15654246
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:

Re: out of memory Exception - Smooth = true.

Posted: Thu Apr 01, 2010 1:43 pm
by 10050769
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,

Re: out of memory Exception - Smooth = true.

Posted: Thu Nov 25, 2010 12:54 pm
by 10050769
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,