This project is read-only.

Memory Leak with NumericUpDown when used in ListView?

Jul 16, 2014 at 9:26 PM
Edited Jul 16, 2014 at 9:28 PM
[Note: this is in Win 8.1 (WinRT)]
When I include a NumericUpDown control inside of a ListView's ItemTemplate, I see a ~1MB mmeory increase each time the ListView's binding is refreshed. So after a minute this could easily creep up to 20MB+. As soon as I remove the NumericUpDown control, there are no memory usage increases related to refreshing the ListView's data source.

I've even removed all the binding on the control as well as the EventTriggerBehavior, but that doesn't change anything. Here's what it looks like in its simplest form.

<toolkit:NumericUpDown Grid.Column="2" Name="Qty"/>

Thoughts on what to try to resolve the memory issue? Thanks.
Sep 19, 2014 at 10:18 PM
I'll need to test it to see what's up.
Sep 21, 2014 at 9:54 AM
I think the leak should be fixed in I just pushed. I'll try to fix the control for the phone version soon. Hopefully it's mostly about fixing the button templates (I'm thinking brushes and minimum sizes need an update)