You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very useful if Capacitor logged iOS low memory warnings when they are broadcast. Selfishly, I spent quite a bit of time figuring out why WkWebView was restarting--because a webgl process was being terminated as the device had no memory. But I assume this happens fairly frequently and people might not know. I didn't realise so much memory coud have been consumed. While the crash is logged, it is identified as the process terminated rather than being reaped due to low memory (even though my process was the cause of the memory being low).
Platform(s)
iOS
Preferred Solution
Log memory warnings to console is enough
Alternatives
Reducing memory is always nice, but knowing it is an issue is more important.
Additional Context
Mapbox-gl-js on iOS in WkWebView
The text was updated successfully, but these errors were encountered:
Your problem is most likely the webViewWebContentProcessDidTerminate being called, which reloads your app. The memory warnings by themselves won't restart your app.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Feature Request
Description
It would be very useful if Capacitor logged iOS low memory warnings when they are broadcast. Selfishly, I spent quite a bit of time figuring out why WkWebView was restarting--because a webgl process was being terminated as the device had no memory. But I assume this happens fairly frequently and people might not know. I didn't realise so much memory coud have been consumed. While the crash is logged, it is identified as the process terminated rather than being reaped due to low memory (even though my process was the cause of the memory being low).
Platform(s)
iOS
Preferred Solution
Log memory warnings to console is enough
Alternatives
Reducing memory is always nice, but knowing it is an issue is more important.
Additional Context
Mapbox-gl-js on iOS in WkWebView
The text was updated successfully, but these errors were encountered: