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
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
The application crashes after a few minutes (about 7-8 minutes), with the following error message:
ERROR: Evaluating jscode:
Error Domain=WKErrorDomain Code=2 "The Web Content process was terminated"
UserInfo={NSLocalizedDescription=The Web Content process was terminated}
For all tests, camera frames were enabled (SEND_CAMERA_FRAME_TO_JS=true) and arView.vrDisplay.passThroughCameraImage_.src was displayed in a div in the background.
When the error occurs, the console closes, so I can't see any particular warning or error message...
Thank you for your time
EDIT: While consulting the device's console, I saw this notification, which happens shortly before the crash: "10:31:10.136189 +0200 com.apple.WebKit.WebContent Got memory pressure notification (critical)"
So it seems that it is in fact a memory problem. I'm working on an ipad pro 10.5"
The text was updated successfully, but these errors were encountered:
Up !
I'm facing the same problem, "com.apple.WebKit.WebContent Got memory pressure notification (critical)", and then the browser outputting so many errors i have to close it.
Anything i've tried seem to have no effect on this, errors still happening after (more or less) 6/10min of usage in normal conditions.
I'm trying to enable AR on an already existing application, but I don't think it has anything to do with the existing application, since it works very well without the AR enabled.
If someone have any idea, it would be great !
Thank you in advance,
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
The application crashes after a few minutes (about 7-8 minutes), with the following error message:
ERROR: Evaluating jscode:
Error Domain=WKErrorDomain Code=2 "The Web Content process was terminated"
UserInfo={NSLocalizedDescription=The Web Content process was terminated}
I couldn't find where the bug came from. I tested on several pages, including https://google-ar.github.io/three.ar.js/examples/spawn-at-camera.html to see if it could come from my code or not: it happens every time.
For all tests, camera frames were enabled (SEND_CAMERA_FRAME_TO_JS=true) and arView.vrDisplay.passThroughCameraImage_.src was displayed in a div in the background.
When the error occurs, the console closes, so I can't see any particular warning or error message...
Thank you for your time
EDIT: While consulting the device's console, I saw this notification, which happens shortly before the crash:
"10:31:10.136189 +0200 com.apple.WebKit.WebContent Got memory pressure notification (critical)"
So it seems that it is in fact a memory problem. I'm working on an ipad pro 10.5"
The text was updated successfully, but these errors were encountered: