Skip to content
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

GC is not clean enough #113

Open
zhuxudong opened this issue Mar 22, 2021 · 2 comments
Open

GC is not clean enough #113

zhuxudong opened this issue Mar 22, 2021 · 2 comments
Assignees
Labels
bug Something isn't working high priority High priority issue resource Resource-related functions
Milestone

Comments

@zhuxudong
Copy link
Member

Describe the bug
GC is not clean enough. the memory will continue to increase after switching the same project.

To Reproduce
Steps to reproduce the behavior:

  1. open any project of the playground.
  2. call engine.destroy().
  3. open chrome -> memory -> take heap snapshoot.
  4. observe memory detail info.
  5. load same project and repeat process from 3 to 4.
  6. the memory will continue to increase after switching the same project.

Expected behavior
Memory will not increase after switching the same project.

Screenshots
image

Desktop (please complete the following information):
anyone

Smartphone (please complete the following information):
anyone

Additional context

@zhuxudong zhuxudong added the bug Something isn't working label Mar 22, 2021
@zhuxudong
Copy link
Member Author

one reason: #115

@zhuxudong
Copy link
Member Author

zhuxudong commented Mar 29, 2021

reason 2: RenderElement、Entity and RenderContext static member lock the instance object #131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority High priority issue resource Resource-related functions
Projects
No open projects
Development

No branches or pull requests

3 participants