许多文章(例如msdn )都说当涉及DOM对象和JS对象时,在某些浏览器中无法清除循环引用。 (IE 6根本无法完成,IE7只能在页面请求之间执行): Javascript Native( Leaks ): function leak(){ var elem = document.createElement(“DIV”); document.body.appendChild(elem); elem.onclick = function () { elem.innerHTML = elem.innerHTML + “.”; // … }; } 因为元素的onload属性通过闭包引用回自身,所以它创建了一个循环引用 : elem [DOM] -> elem.onclick [JS] -> elem [DOM] JQuery版本( 不泄漏 ): function leak(){ var elem = $(”); $(document.body).append(elem); elem.click(function () { elem.html(elem.html() + “.”); […]
我正在开发一个大量使用jquery(UI)的站点,以提供良好的用户体验。 对于某些(愚蠢的)原因,此站点的部分显示在iframe中,并且还有一个用于刷新iframe的按钮以从服务器获取最新数据。 问题是每次刷新iframe时内存使用量都会增加,导致一段时间后出现严重的内存问题(在IE8和9中测试过)。 但这只有在加载jquery库时才会发生。 使用Drip / Sieve时,可以最好地看到此行为。 为了更好地理解这个问题,我删除了导致下面两个文件的所有不必要的代码。 每次重新加载时,内存使用量增加约800 kb。 (如果要重现,请尝试http://jsbin.com/asamid/7 ) 我怎样才能防止jquery吞噬我的记忆? 有没有办法在重新加载之前手动卸载所有jquery? index.htm :(见http://jsbin.com/asamid/7/edit#html,live ) Memory Leak – Parent function reload() { var frame = document.getElementById(“testFrame”); frame.src = “frame.htm”; } reload frame frame.htm :(见http://jsbin.com/ocuval/edit#html,live ) Memory Leak – Frame Test Frame lorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsum
我想弄清楚为什么IE在jQuery对象中包装AJAX请求的HTML页面进行处理时泄漏内存。 用户可以访问页面并让它静置几分钟或几小时,因此页面每分钟使用jQuery的ajax方法几次获取新数据,然后用新的预渲染数据替换页面的重要部分。 此时,我已将其缩小为单个调用 – 当调用$(data)来包装HTML字符串时,内存会出现一点点,并且似乎不会被垃圾回收。 随着时间的推移,使用了数百MB,我不得不重新加载页面或重新启动IE。 这个小提琴能够重现这个问题。 它使用AJAX来请求页面,然后在紧密循环中调用$(data)以夸大泄漏。 Chrome和Firefox似乎都像我期望的那样做出反应(内存被回收),但是IE表现得很糟糕。 惊喜。 使用Process Explorer,我只看了两次运行上面的小提琴后,看到内存消耗大幅增加。 我目前在标准模式下使用IE9。 为什么会这样? 有解决方法吗? 更新 这是一个不使用AJAX来演示问题的小提琴 。
我是jQuery的新手。 我有点困惑是不是很好还是可能导致内存泄漏? 以下是代码:在每个新值的某些日期filter上调用此方法 function preapreTooltip(chart) { var tickLength = chart.xAxis[0].tickPositions.length, ticks = chart.xAxis[0].ticks, tickPositions = chart.xAxis[0].tickPositions; for ( var iCntr = 0; iCntr < tickLength; iCntr++) { var tickVal = tickPositions[iCntr]; //.label or .mark or both (function(tickVal) { // Is this good practice to call function like this? ticks[tickVal].label .on('mouseover', function(event) { // Is this […]
我一直在寻找这个问题的答案,虽然找到了相关的问题,但我找不到完全匹配的问题。 我有一个相当大的应用程序,它应该使用jQuery.load()方法将页面加载到另一个页面的div中。 我遇到的问题是,当一遍又一遍地将同一页面加载到同一个div中时,我看到浏览器的内存大幅增加(内存泄漏)。 如果我打电话给$(“*”)。取消绑定,我当然看不到泄漏,但是一切都已经重置,所以这不是真正的解决方法。 以下代码示例重现此问题: Test1.htm We are loading Test2.htm into below div Count loads =0 EMPTY Test2.htm =任何旧的html页面.. 如果您加载Test1.htm并单击按钮多次,您会注意到浏览器内存不断增加。 我相信问题是加载的js和DOM元素永远不会被设置为垃圾收集。 在我的真实世界系统中,我尝试删除(elem.remove()或.empty())已加载的元素,但这并不能解决问题。 我也有很多使用“src”加载的js文件,我用$ .getScript替换,这似乎已经有了一些小改进。 这些都是想到的解决方法,我想找到解决这个问题的真正解决方案。 有任何想法吗?
我有一个在IE8和Firefox中泄漏内存的网页; Windows Process Explorer中显示的内存使用量随着时间的推移不断增长。 以下页面请求“unplanned.json”url,这是一个永远不会更改的静态文件(尽管我将我的Cache-control HTTP标头设置为no-cache以确保Ajax请求始终通过)。 当它获得结果时,它清除HTML表,循环从服务器返回的json数组,并为数组中的每个条目动态地向HTML表添加一行。 然后等待2秒钟并重复此过程。 这是整个网页: Test Page function kickoff() { $.getJSON(“unplanned.json”, resetTable); } function resetTable(rows) { $(“#content tbody”).empty(); for(var i=0; i<rows.length; i++) { $("” + “” + rows[i].mpe_name + “” + “” + rows[i].bin + “” + “” + rows[i].request_time + “” + “” + rows[i].filtered_delta + “” + “” + […]
Jquery自动刷新耗尽了很多浏览器内存。 有没有办法阻止这一点。 我每隔3秒刷一次2 div,但我把它移动到9和15秒,它帮助我的网站上的窗口保持打开的时间越长,浏览器崩溃之前所需的内存就越多。 var auto_refresh = setInterval( function () { $(‘#details2’).load(‘links2.php’).fadeIn(“slow”); }, 15000); // refresh every 10000 milliseconds
我有一个应用程序,允许用户在回发后查看特定案例的详细信息。 每次用户从服务器请求数据时,我都会下拉以下标记。
我在Chrome中遇到了以下2(巨大的!)内存泄漏: 使用新字节编辑现有图像的’src’时 使用clone()克隆图像时 请注意,在Internet Explorer中没有任何内存泄漏! 一些背景:我正在开发一个项目,其中外部摄像头提供图像的实时馈送(假设每秒100帧)。 该项目的主要3个function是: 玩现场直播 记录实时Feed 显示录制的Feed 欢迎您下载以下独立代码(只需将其保存为“leak.html”并执行),并亲眼看看: var meContext = document.getElementById(“meCanvas”).getContext(“2d”); // Bytes array representing a chair image var chairImgSrc = “data:image/png;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCAHgAoADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS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FFABTS2D0NOooA8Q6UUmaWpAKXOKSgUDFpKDQKBMMYFHWiigYvTpRmkooAWiiimKwtFHWgUgFooozQAuaKSloAWikoFAxaKKKAFozRRQAooopaAClFJS0wFpaQUtADs0tNFOoAcKeKjFOFMRItSrUIqVKpAWEqZOagQ1PH1q0QzsPDS400+7mtisjw2c6af981r1m92WFFFFIAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACikozQAtFJmloAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigBKMe9LTS2OxoA8RpaSk61IMd2pKKKAA0fSl6UlABS0lLnNAwpaTNGaYrBS0lLSGFLRQKYhaKSlpDClpKUUAFFAoFABSikzS8UDFoxSUUAOopKWi4haWm0opjHUopBSg0ALThTacKAFFOFIKcKYhwqRajFSrTQiVanjNV1qdKtCOy8MMDp7DuHNbNYPhU/6JL/vVvVmxhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAlGKWigBKKWigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKSjFAHiFFGaM1ABRRRTAKDRmigAHNFJiigB1FIOKCaBi0uaSigBaKKMc0CFpaTNGaAFopKWgYtFJRQMWikpRQIU0UmaWgYtLSUUALmlBpKUUALSim04UAOFLmm04UwHU4UwU4UxEq1ItRLUq1QiValSolNTJVITOs8Kf8e03+9W/WF4VXFnKcdXrdqGMKKKKQBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFJQAtFJRQAtFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAU3cR2p1FAHh5o60lBqQFopO1FAC0neiigYtFJRQAvaijPFGaAFxRSZozQA6im9acKAuGM+tKKSlFABS5pM0UgFopKUUwClpKWgYd6WkooAUUuaSigB1LTRS0AOpabS0AOFKDTRTqAHCnCmU4GmBIDUimoQakU1SETqanjPNVlNSoeatMlnaeFzmxcf7dblYHhQ5s5f8AerfqHuMKKKKQBRRRQAUUUUAFFFFABRRRQAUUUU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8VY6ODzVQ+EUtzYtLCCS0UPEre+Oajm0C3c5Qsh9O1WbE+Zaqy9Ks7mHXmobdykk0c/N4enGTEysPrg1RuNOubfO+NsDv2rsA2R0pkgLKVI4IxTU31E4LocT060A1PewG3uXjPY/pVboa1M2OzSjpTRzTgpJ4oAOlLTzEwHSmbCO1ACU7NAGKMZNAC5zS+1AHFPVCTQAKDxVu0tnuJlRBkk4qax0me7YbFwvcmuq0zS4dPXON0h6saUpWGlcu2FolpaJEB0HJ96tCPPSmA1IDisjW1j/2Q==”; var image = new Image(); image.onload = drawNewImage; var RECORD_LEN = 20; var recordedImages = new Array(RECORD_LEN); var count = 0; function drawNewImage() { meContext.clearRect(0, 0, meContext.canvas.width, meContext.canvas.height); meContext.drawImage(image, […]