KhronosGroup / WebGL

The Official Khronos WebGL Repository
Other
2.65k stars 670 forks source link

Reexamine out-of-memory tests which are crashing on iOS #2722

Open kenrussell opened 6 years ago

kenrussell commented 6 years ago

Per a recent WebGL working group face-to-face meeting, some out-of-memory WebGL conformance tests are crashing the browser on iOS, which is expected behavior as they're allocating more memory than the system allows per process. These tests should be identified, reexamined, and modified to be rigorous but not stress tests.

kenrussell commented 5 years ago

From WebGL F2F 2019/09/25: it looks like this bug may have been referencing extra/out-of-memory.html , which is already a stress test and not part of the conformance suite. @grorg could you please confirm this and close it if so?

kenrussell commented 4 years ago

While investigating WebGL 2.0 support on low-end Android devices in Chromium bug http://crbug.com/1042214 , I found several WebGL conformance tests that allocate so much memory or GPU resources that the Android system kills the entire browser process. This is probably similar to the behavior @grorg saw on iOS. In the list which follows, if there's no comment, it means the operating system killed the web browser. The problematic tests were:

I'll look into reducing the memory and/or resource requirements of these tests.