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 8 posts - 1 through 8 (of 8 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

    #35003

    Hello CanvasJS Team,

    Still we are facing the same issue related to iOS (Total canvas memory use exceeds the maximum limit (224 MB)).Please give us any updates on this memory issue specific to iOS.

    • This reply was modified 3 years, 3 months ago by svc_quaeris.
    #35049

    @svc_quaeris,

    We are sorry for the inconvenience caused, we will address this issue in our future releases as currently we are working on some important features. However, if interactivity is not required in your use-case you can extract the image of chart, destroy the chart and use the image in place of chart. Please take a look at this JSFiddle for an example.

    —-
    Manoj Mohan
    Team CanvasJS

    #35902

    canvas team, it’s really frustrating, u guys know know this issue from past 2 year, but their is no proper update with chart interactivity, using paid version but feel like of no use while getting compalint on daily basis from user . Really disappointed. Please provide a quick fix, have been going through forum for this issue ,if u those forum u guys will understand how disturbing and irritating this is

    #35931

    @pankaj0086,

    Sorry for the inconvenience caused. As iOS has dropped the canvas memory buffer to 224MB, we have tried to optimize memory consumption of our library. Also, we will optimize it further in our future releases.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.