Home forums Using CanvasJS Total canvas memory use exceeds the maximum limit Reply To: Total canvas memory use exceeds the maximum limit

#25875

@hemantdave,

Earlier WebKit allowed 448MB of canvas buffer memory whereas now they have dropped it to 224MB. Because of this, there was some memory issue with CanvasJS Charts in the latest iOS. However, we had optimized memory consumption in CanvasJS v2.3 – please check out this release blog for more info.

Please follow below guidelines for more optimization:
1. If your page has dynamic charts, update chart options and re-render and don’t instantiate / create new chart on every update.
2. If you are populating data from JSON or CSV using AJAX, instantiate chart once and update data within AJAX request and do not instantiate / create new chart within every AJAX request.
Also, we will further optimize this behavior in future releases.


Manoj Mohan
Team CanvasJS