Posted: 7 Dec 2017 2:19 EST Last activity: 10 Dec 2017 22:11 EST
How To Fix Memory Leak Issue In OpenSpan
I met an issue that once the openspan project runs over 2 hours ,it will crash.
The process of Openspan runtime occupied almost 1GB memory while IE took 600M.I knew IE has a memory leak issue for a long time.
But I never met such issue that OpenSpan caused memory leak,I used the memory leak detector like .net memory profiler to monitor.
It indicated that Openspan took too much memory to create html table cell controls.I'm not sure if OpenSpan will use "lazy" load way to create table cells of more than 1000 rows. But I doubt it may be the root cause because the html table should refresh after finishing each task (one row) via clicking the link in table cell,For example if you finish 1 of 1000 tasks,the table with 999 tasks should refresh.if lazy load is not used,it may take too much memory 1000 times.
If this is the root cause,is there any solution to fix it?