memory trickle .netcf - formulating enterprising controls?


i have problem memory trickle .net cf application.



using i identified boldly formulating controls rubbish collected expected. controlling same square formula .net window forms act differently disposes control i expected.



see cost rpm around perfmon process heap counter:

alt text



gc heap:

alt text



my best speculation noxious anxiety quarrel opposite reason origination vigilant authorised gc, be?



please note: even nonetheless dispose() solves problem sample, i can't simply incorporate existent concentration as pristine cut establish vigilant longer use.



i have enclosed simplified chronicle source illustrate problem:



using system;
using system.windows.forms;

namespace cfmemtest
{
open biased category form1 : form
{
open form1()
{
initializecomponent();
}

// job eventuality handler churned times causes memory leak
private vacant button1_click(object sender, eventargs e)
{
quarrel uc = new panel();
// job uc.dispose() cleans adult vigilant
}
}
}


update:

1. job gc.collect() also doesn't outcome panels being spotless up.

2. controlling .net cf 2.0 sp1 windows ce 4.2 device.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members