You must be logged in to post your query.
Home › Forums › Chart Support › iOS | chart not display with warning maximum limit (224 MB).
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.
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.
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.
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.
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.
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.
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
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.
You must be logged in to reply to this topic. Login/Register