banner
DIYgod

Hi, DIYgod

写代码是热爱,写到世界充满爱!
github
twitter
bilibili
telegram
email
steam
playstation
nintendo switch
AI Translation
This post is translated from Chinese into English through AI.View Original
cover
RSSHub Radar has had a memory leak bug for several years, and the cause has never been found. Even after rewriting the entire repository code, the issue was not resolved. It was very painful. Today, I finally caught the culprit, which is the native DOMParser of Chrome. The reference to the DOM returned by DOMParser will permanently exist in memory, cannot be manually cleared, and will not be cleaned by the garbage collector. Eventually, more and more memory will explode.
Loading...
Ownership of this page data is guaranteed by blockchain and smart contracts to the creator alone.