开发者

Repeater destroy repeated items

开发者 https://www.devze.com 2023-02-07 09:47 出处:网络
I am stuck in improving the performance of repeater. I have repeater(recycleChildren = \"true\")开发者_运维知识库 with a custom repeating component in a pop up window.

I am stuck in improving the performance of repeater. I have repeater(recycleChildren = "true")开发者_运维知识库 with a custom repeating component in a pop up window.

The problem is when I close the popup window it does not destroys the instances of repeater item. When I repeater the popup window profiler show the instances count as: reptur.dataProvider.lenght + the instances that were there at the time of closing the popup window.

So the memory shoots up & not release as I close & open the window.

Please help me out in releasing the repeater instances on cosing the window.

Thanks in advance.


try System.gc()
or set them to null manually

0

精彩评论

暂无评论...
验证码 换一张
取 消