中继器销毁重复的项目
我一直致力于提高中继器的性能。我在弹出窗口中有带有自定义重复组件的中继器(recycleChildren =“true”)。
问题是当我关闭弹出窗口时,它不会破坏中继器项目的实例。当我重复时,弹出窗口分析器显示实例计数为:reptur.dataProvider.lenght + 关闭弹出窗口时存在的实例。
所以记忆力会猛增&当我关闭时不释放打开窗户。
请帮助我释放有关窗口的转发器实例。
提前致谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试
系统.gc()
或手动将它们设置为
null
try
System.gc()
or set them to
null
manually