I sporadically see clients getting “Unable to create vertex buffer” and “Unable to create texture” errors. I always thought this was caused by memory limits, but I recently noticed it as well on a high end gaming PC. That one was not after a long session and also after a year of not having the error from that device. After a refresh of the page the next error from thinEngine was “WebGL not supported” which was resolved by restarting the browser.
What are the possible causes of the first error and how can I best catch it and show a message to the user?
Related: what is the best way to inspect the GPU memory? Amount used by the page, but also which assets are taking up the biggest chunk?