Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Clear memory / remove canvas

$
0
0

@keber wrote:

Hi all,

I’m creating an application where I’m cutting an image into pieces by creating a canvas.
The problem is that if I’m doing it multiple times, the devices memory cache is full because the canvas (and especially the pieces I have created) never gets deleted, I’m getting the error message in the Safari console (while running via iOS simulator):

Total canvas memory use exceeds the maximum limit (224 MB)

Therefore I’m looking for a solution on how to clear the memory, maybe if possible the canvas elements only.

I’ve found a plugin but I’m not sure how to use that.

Does anybody know how to do that?
Thank you so much in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>