Home Forums Chart Support iOS | chart not display with warning maximum limit (224 MB).

iOS | chart not display with warning maximum limit (224 MB).

Viewing 4 posts - 1 through 4 (of 4 total)
  • #32383

    I need to render N number of charts on a single screen it works fine in chrome-web and Android but it gets failed in iOS with a warning (Total canvas memory use exceeds the maximum limit (224 MB)).
    We tried creating one instance at a time and replace only options of the chart but for multiple charts at least 7-8 charts it gets failed and gives a warning as mentioned above.

    Please give us feedback on this memory issue specific to iOS.

    #32402

    @svc_quaeris,

    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.

    Also, we will further optimize it in future releases.

    —-
    Manoj Mohan
    Team CanvasJS

    #32455

    Hey Manoj Mohan,

    because of the warning Total canvas memory use exceeds the maximum limit (224 MB), we are not able to display the chart using canvasJS v3.2.6 in ionic 4 apps, it gives warning in iOS only.

    if you have any method or event specific to iOS to remove/release the memory which used by CanvasJS chart, please let us know about that also.

    #32467

    @svc_quaeris,

    We are sorry for the inconvenience caused but as of now, we don’t have any method to release the memory as garbage collection is performed by the browser. Please refer to this article for more information on garbage collection.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.