8000 add block may cause memory leak in safari · Issue #3896 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
add block may cause memory leak in safari  #3896
Open
@sheeeeep

Description

@sheeeeep

Describe the bug

After add some blocks and delete them, I found the memory usage is extremely high.

To Reproduce

Steps to reproduce the behavior:

  1. Visit blockly demo in safari (my safari version is 10.15.4)
  2. open safari's devtool , choose timeline, and start record.
  3. add some blocks and then delete them casually.

Expected behavior

Before step3, the memory usage is 70M+.
After step3, the memory usage is 200M+, even though the workspace is still empty.

Screenshots

image

Desktop:

  • OS: mac os
  • Browser: safari
  • Version: 10.15.4

Additional context

The memory usage increased in PAGE.

If we use it in mobile device that memory capacity is pretty small, It may cause some performance problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0