-
Notifications
You must be signed in to change notification settings - Fork 358
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
扩展启动一段时间后,内存占用飙高 #694
Comments
Invalid URL errors are fixed in cf15a0a, but I'm not sure if it caused the memory leak |
The leak still exists with v1.10.1... Now I’m receiving |
Same issue on version v2.0.6 |
I speculate that the memory leak in the v2 version is caused by console.debug. I have removed all console.x at here. Please observe if v2.0.7 still has any memory issues. |
In version 2.0.7, the memory consumption is still high, but the background service worker and offscreen.html memory usage seems to be normal. I'm unsure about the exact cause of the problem. |
Sharing a workaround: I remove the permission "access to all pages" so that the extension is only activated when I click on it. Seems to be smoother now. |
I further debugged and found that the memory leak may be caused by DOMParser. Then I found a stackoverflow post confirming my guess, so I removed DOMParser in this commit, hoping this will solve the problem. 653f0db |
扩展刚启动时占用内存仅 20+ MB,但几天后会发现飙高到 400+ MB,甚至期间并没使用过扩展。
Chrome: 99.0
RSSHub Radar: v1.7.0
The text was updated successfully, but these errors were encountered: