echarts-bot[bot] commented on issue #17545:
URL: https://github.com/apache/echarts/issues/17545#issuecomment-1222148882

   @qinxiangling It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] setOption causes the pages to accumulate episode listeners
   
   **BODY**
   
   ### Version
   
   5.1.1
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   According to the instructions on the official website, using 
setOption(option, {notMerge: true, lazyUpdate: false, silent:false}) to 
dynamically update the chart will cause the JS event listeners to continue to 
accumulate, causing the page to freeze and eventually memory overflow.
   Even if you set all to be empty in the updated option, it still keeps 
increasing (data:[])
   The data is well constructed, and the listeners will not be added only if 
the rendering is not performed. As long as the rendering is performed, it will 
continue to accumulate regardless of whether it is empty or not.
   
   ### Current Behavior
   
   ![Uploading 393bc6961337930fab0e1e604e96ad7.jpg…]()
   ![Uploading 727707795ce109b603e9d707497fc35.jpg…]()
   
   
   ### Expected Behavior
   
   How to render to solve the memory overflow problem
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to