Safari 11 revokeObjectURL() does nothing

We use revokeObjectURL to free up memory within our webapp, and this worked beautifully with Safari 10.


However, with Safari 11, revokeObjectURL seems to be ignored and thus we run into issues with memory not being released after image processing finishes.


Is there some way to release memory in Safari 11, or a more global method to replace revokeObjectURL that would also work with previous versions of Safari?


As a detail: we are using pica.js to resize images uploaded to our webapp, and will get this:


Total canvas memory use exceeds the maximum limit (4096mb)


After we get that in the JavaScript Console - the whole app crashes and reloads.


As an additional detail: The assets uploaded and resized, are 80mb in total size.

Safari 11 revokeObjectURL() does nothing
 
 
Q