Comments (4)
Thanks for opening an issue. As noted in your other issue, retaining something this small should not cause problems. Intentionally retaining a variable is not the same as a memory leak. A memory leak is when a particular operation continues to increase memory, but here there is only ever one element retained. The question is, does this cause a real world issue? It's so small I don't see how.
Anyway, the container
element is no longer on the main branch. There is still a div
and it is no longer nulled, but its purpose goes a bit beyond the support test.
from jquery.
Understood but in chrome it forces a whole tree of things to be retained according to the heap dump.
from jquery.
@melloware can you provide more details about this tree?
We’re all for solving real memory issues but we first need to know there’s a real one.
BTW, we cannot call computeStyleTests()
eagerly; we spent a lot of effort in jQuery 1.11/2.1 to make sure support tests that trigger layout are done lazily for performance reasons.
from jquery.
@mgol i totally understand. I think locally I just need to build a debug Jquery version that does this. I came to this because I am helping a client debug client side memory leaks and their Detached DOM keeps growing so I am trying to filter out real issues from noise.
No worries leave this closed and thanks for the responsiveness!
from jquery.
Related Issues (20)
- v4 beta : mottie/tablesorter plugin fails with sort() and trim() missing HOT 1
- Jquery-UI getting Error With jQuery jQuery 4.0.0 BETA! HOT 4
- jQuery.get() 4.0 backward compatibility issue HOT 3
- Permissions policy violation due to unload event HOT 1
- Avoiding JQuery version disclosure on Angular's Script.JS HOT 1
- Scripts in dynamically set html always asynchronously loaded HOT 3
- jQuery 3.7.1 is still making wrong calculation of dimensions in Firefox. HOT 1
- Memory Leak: OriginAnchor HOT 6
- Triggering after an `alert()` in an event handler results in a JS error HOT 3
- The strange behavior generated by the append method HOT 1
- Avoid counting scroll twice in offset HOT 2
- jQuery Migrate 3.4.0 - elem.focus() is not working HOT 3
- Issue or behaviour??? - 2.2.3 to 3.6.0 - active element changed on focus. HOT 2
- Issue using JQuery 3.7.1 and CSP HOT 2
- Jquery Vite installation doesnt work. HOT 1
- buildFragment does not wrap html when elem starts with SCRIPT tag HOT 4
- Fix CSS test issues in Firefox coming from CSS zoom support HOT 4
- Upgrade issues for jquery HOT 3
- Documentation for jQuery.contains() HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.