You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/05/31 09:37:17 UTC

[GitHub] [incubator-echarts] YogeshJC opened a new issue #10593: Total Canvas size exceeds the maximum limit in iOS

YogeshJC opened a new issue #10593: Total Canvas size exceeds the maximum limit in iOS
URL: https://github.com/apache/incubator-echarts/issues/10593
 
 
   ### Version
   4.0.0
   
   ### Steps to reproduce
   We have a dashboard of which displays 4 pie charts. We have the option to toggle to expand each chart to take up the whole area of dashboard or collapse to the dashboard view. 
   
   It seems that upon toggling the charts exactly 10 times, we get an error called total canvas size exceeds maximum limit on iPad. 
   This also happens when you change the orientation of the device multiple times with the dashboard on. 
   
   ### What is expected?
   Charts should be loaded without any errors.
   
   ### What is actually happening?
   Charts are not loaded. 
   Error is thrown 
   Total canvas memory use exceeds the maximum limit (224 MB).
   "TypeError: null is not an object (evaluating 'this.ctx.dpr = this.dpr')"
   
   ---
   I have tried to clear the canvas memory using the clearRect method  and using the dispose method to destroy the chart object. 
   Is there anything else that can be done from eCharts side to mitigate the memory leak which is caused when the device orientation is changed in iOS 12 devices.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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