c# - Listview with Textbox WIndows10 -


i have 1 big problem.

my mainpage shell splitview , framelement load other pages.

i added differnet pages 1. page empty 2. page contains listview different items (from observablecollection). if itemtemplate contains textbox apps crashes when switch between pages couple of times. don't know how handle that? memory consumption increases every 2-3 times navigate page #2

xaml:

code behind:

    public day()     {         this.initializecomponent();         this.lv_schultag.itemssource = (app.current app).schuljahr.actual_day[0].stunden;     } 

the debugger stops here in app.g.i.cs:

#if debug && !disable_xaml_generated_break_on_unhandled_exception unhandledexception += (sender, e) =>     {         if (global::system.diagnostics.debugger.isattached)global::system.diagnostics.debugger.break();     }; #endif 

the unhandled exception e is:

für diesen vorgang ist nicht genügend speicher verfügbar. 

in english:

system.exception system.outofmemoryexception.  

the memoryusage 65mb...

do have idea why happens


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -