OutOfMemoryException with ItemsControl

Jul 2, 2014 at 11:24 PM
Edited Jul 3, 2014 at 2:52 PM
Updated: 7/3/2014
I will fire an issue.
OutOfMemoryException is not related to ItemsControl.
It is related to LineSeries.Smooth = true.

Exception at : CanonicalSplineHelper.Segment(). Line207.

How to reproduce this:
  1. Set lineSeries.Smooth = true when create lineSeries.
    eg: var ls = new LineSeries { Title = title,Smooth = true};
  2. Zoom in by pushing down mid-mouse button, create rectangle zoom area.
  3. after several times, out of memory exception throws.

Tested with version oxyplot-d91d95940aa9