You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/10/19 14:42:14 UTC

[GitHub] [echarts] L-value opened a new issue, #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

L-value opened a new issue, #17793:
URL: https://github.com/apache/echarts/issues/17793

   ### Version
   
   最新版本
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏
   
   ### Current Behavior
   
   如题
   
   ### Expected Behavior
   
   如题
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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-unsubscribe@echarts.apache.org.apache.org

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


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


Re: [I] [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏
URL: https://github.com/apache/echarts/issues/17793


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] oldRabbitForz commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
oldRabbitForz commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291473223

   > @oldRabbitForz 请给出示例便于我们复现。
   我微信415572600,微信上说


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] oldRabbitForz commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
oldRabbitForz commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291470322

   > @oldRabbitForz 请给出示例便于我们复现。
   
   只能给你截heapsnapshot,商业项目不能给代码的


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] oldRabbitForz commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
oldRabbitForz commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291461890

   > 每10毫秒刷新一次,自定义得tooltip会发生内存泄漏,该tooltip上绑定得事件一同发生泄漏
   
   


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] plainheart commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291472472

   @oldRabbitForz 自行脱敏并尽可能简化代码逻辑,足以复现问题即可。


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] oldRabbitForz commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
oldRabbitForz commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291477499

   @plainheart 


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] plainheart commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1284838154

   这个还不曾测过,tooltip 内部会使用 `innerHTML = ''` 清空内容,如果创建的对象没有被其他地方始终保持引用的话,一般应该是不会产生内存泄漏的。


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] plainheart commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291465071

   @oldRabbitForz 请给出示例便于我们复现。


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] oldRabbitForz commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
oldRabbitForz commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1291476640

   > @oldRabbitForz 自行脱敏并尽可能简化代码逻辑,足以复现问题即可。
   
   我微信415572600,微信上说


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17793: [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1284128946

   @L-value 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] Adding a click event to an element created inside the tooltip format, but not removing it, will it cause a memory leak
   
   **BODY**
   
   ### Version
   
   Latest version
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   Adding a click event created inside the tooltip format, but not removing it, will it cause a memory leak
   
   ### Current Behavior
   
   Title
   
   ### Expected Behavior
   
   Title
   
   ### 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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] echarts-bot[bot] closed issue #17793: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17793: [Bug] 
URL: https://github.com/apache/echarts/issues/17793


-- 
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-unsubscribe@echarts.apache.org

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


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17793: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-1284128688

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
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-unsubscribe@echarts.apache.org

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


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


Re: [I] [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-2453134130

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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-unsubscribe@echarts.apache.org

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


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


Re: [I] [Bug] 在tooltip format内部创建的element添加点击事件,但没有移除,是否会产生内存泄漏 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17793:
URL: https://github.com/apache/echarts/issues/17793#issuecomment-2438842467

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscribe@echarts.apache.org

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


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