-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes after Clicking on Run in Chrome #17
Comments
Hello, @shyim, what's your Chrome version and OS, and how much RAM do you have? I have test with Chrome 71.0.3578.98 and Windows 10, and it take about 3GB memory to compile the wasm, but it doesn't crash. |
OS: Windows 10 newest October Update Maybe cause i have dev channel? 🤔 |
Okay in stable it works. 🙈 |
I'm seeing this issue in the newest stable version of Chrome. I click Run and Chrome crashes ("Aw, Snap!") about 15 seconds later. Chrome Version 72.0.3626.119 (Official Build) (64-bit) |
Same. Chrome |
I can reproduce this problem with Chromium 72.0.3626.121, and Chromium output:
It seems that Chromium/Chrome is spending too much on optimizing wasm. |
One workaround is to disable wasm compilation and optimization:
|
Now the browser freezes |
@oraoto You should let them know that maybe? I'm sure they'd appreciate feedback from a real-world project of this size - I don't think there are many yet :-) |
Does this still happen when pib is built with the latest version of the EMSDK (e.g. the currently deployed version)? I've found that I could reproduce this locally in the latest chrome with a similar setup, but the issues went away after updating emsdk and recompiling from scratch. I've also run https://oraoto.github.io/pib/ a few dozen times in chrome 78 on linux, switching tabs, and it still hasn't crashed (the memory usage also remains stable). If nobody's able to reproduce this any more, the README could be updated to mention chrome. |
Still crashes here in the latest version of Chrome on Windows. |
|
If i click on Run it, after some seconds my Chrome Tab crashes
Video Link
The text was updated successfully, but these errors were encountered: