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 again #143

Open
dlrandy opened this issue Apr 27, 2020 · 0 comments
Open

GC again #143

dlrandy opened this issue Apr 27, 2020 · 0 comments

Comments

@dlrandy
Copy link
Owner

dlrandy commented Apr 27, 2020

浏览器如何判断要回收的对象的?
通过变量或者其他可达对象的域找不到的情况下,就会考虑回收该对象

容易内存溢出的集中情况:

  1. 未注销时间监听器
  2. 意外的使用了iframe的对象
    3.未关闭worker
    4.数组里收集对象
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant