Skip to content

memory leak with keep-alive #6759

Closed
Closed
@okjesse

Description

@okjesse

Version

2.4.4

Reproduction link

https://jsfiddle.net/okjesse/k94fphsg/

Steps to reproduce

Switch Foo and home link for several times,VueComponent's count will be always grow up

What is expected?

VueComponent's count is stable

What is actually happening?

VueComponent's count always grow up

  1. switch 0 time:
    1
  2. switch 20 times:
    2
  3. switch 100 times
    3

when the component is big, chrome's memory will be not enough!

thank you for your reading!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions