Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的项目中,我使用 jCarousel (http://sorgalla.com/jcarousel/) 插件来动态显示图像并列出它们。
我想知道这个插件是否存在内存问题?
我正在尝试以下场景:
配置jCarousel动态加载图片 定期重置 jCarousel 并加载新图像
结果 IE 需要越来越多的未被 GC 清理的内存。
在 sIEve 中,我可以看到 jCarousel 使用的元素(删除了 eved)仍然被某人使用,但不幸的是我看不到谁在节点上引用。该节点未标记为泄漏。
去掉父容器的样式“overflow:hidden;”,你会发现是怎么回事。
当“warp”设置为“circular”并继续自动滚动时,jCarousel 将在每次滚动时复制整个节点,并且永远不会被删除。
对不起,我也在寻找解决方案。希望你已经解决了这个问题。