cordova-plugin-wkwebview-engine
cordova-plugin-wkwebview-engine copied to clipboard
Intensive canvas usage causes app crash
Hi, First, great work with this plugin, it performs much better than UIWebView, thank you! Second, My app is doing lots of canvas rendering and when running on ipad pro...the app crashes randomly. I have a feeling it is some sort of memory or memory resources are not freed. When the app crashes it automatically restarts itself.
the only message i see in xcode is: "#WK: Unable to acquire assertion for process 0"
I dont know how to profile the app - so any advise is welcome, In any case, any help would be appreciated.
Thx!
BTW, any advise on how to troubleshoot the above would be a progress...thx!
+1 having the same issue, when showing the $ionicLoading.
I'm also seeing this issue with an app that includes nv-d3 and CesiumJS components (heavy WebGL). Memory footprint is staying consistent, but after stressing (most easily by trigging re-loads of my WebGL components), I'll get the white screen of doom and see nothing more in the log than: [ProcessSuspension] Unable to acquire assertion for process 0
Hi @morious @mnewmedia @ph0rman I have exactly same issue. "Unable to acquire assertion for process 0" and the app only restart. I'm using paper.js. My app is doing lots of canvas rendering too.
I need help please!
Regards
Try looking at the WkWebView memory usage, it's different from your app's memory usage (as I found). This post provides instructions for seeing the usage: https://stackoverflow.com/questions/36561063/get-current-memory-usage-of-wkwebview