We're using xamChart under Windows XP on a P4 single-core processor with 1gig of ram and an integrated video card with no GPU. Our application cycles through many different charts showing different, constantly updating information. At most, our application shows 4 charts at a time, and we're destroying the old charts and creating new ones as we cycle through (due to the nature of our application we cannot change this). If we use xamChart with 2D charts, everything works fine and we can run the application for days without any issues. However, if we use any 3D charts, we lose memory with every chart created and we'll eventually crash with 'out of memory' errors after 10-15 minutes. When can we expect to see a fix for this?
i tried this simple test and did not notice any memory leak after clicking the button and closing the resulting window several times.
private void Button_Click(object sender, RoutedEventArgs e) { Window w = new Window(); XamChart ch = new XamChart() { View3D = true }; ch.Series.Add(new Series() { ChartType = ChartType.Column }); ch.Series[0].DataPoints.Add(1.0); ch.Series[0].DataPoints.Add(2.0); ch.Series[0].DataPoints.Add(3.0); w.Content = ch; w.Show(); }
i am using the latest build of 7.2.
can you provide more details as to how i might reproduce the problem, or a sample project, as well as the complete version number of the dll you're using?