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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to