Skip to content

Does this example have a memory leak? #12366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
coder-virjay opened this issue Nov 12, 2024 · 1 comment
Closed

Does this example have a memory leak? #12366

coder-virjay opened this issue Nov 12, 2024 · 1 comment

Comments

@coder-virjay
Copy link

Vue version

3.5.12

Link to minimal reproduction

https://codesandbox.io/p/devbox/relaxed-rui-2crwn4?workspaceId=d8b63237-c45a-4c07-9aaa-473968f11eff

Steps to reproduce

The example primarily utilizes router-view with a dynamic key and dynamic routing, but it does not consistently reproduce the issue.

Steps to reproduce:

Open the URL: /#/project/1

Switch between the 5 links

What is expected?

No additional detached DOM elements are observed.

What is actually happening?

The memory occupied by the DOM is not being reclaimed by the browser.

System Info

System:
    OS: macOS 15.1
    CPU: (8) arm64 Apple M1
    Memory: 198.22 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
  Browsers:
    Chrome: 130.0.6723.117

Any additional comments?

2024-11-12.17.48.31.mov
@edison1105
Copy link
Member

duplicate of #12306
see #12306 (comment)

@edison1105 edison1105 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants