Home Forums Chart Support Total canvas memory use exceeds the maximum limit

Total canvas memory use exceeds the maximum limit

Viewing 2 posts - 1 through 2 (of 2 total)
  • #25850

    I am loading 5 to 6 charts on a single page. Although it is loading and working fine on the desktop. But when I see them on the iPad, Some of the charts are not loading and the console is saying

    “Total canvas memory use exceeds the maximum limit”

    I am using the latest version of canvasjs. I also used destroy function for canvas. Please help.

    #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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.