Safari 'A problem repeatedly occurred'

Hi! I received this message from some IPhones.
I searched some guess it’s due to memory or GPU problem? However, it’s weird I receive this message on IPhone 15plus, but on Iphone 8 my website can work properly.
a-problem-repeatedly-occurred-in-safari-when-shadow-map-size-too-big. I tried to downsize mapsize to 128 it still not working.
Because there is no any console warning information I don’t know how to debug.
Some data may help:
Chrome Task Manager shows website’s memory is less than 200MB, heap memory is about 50MB

I will try to upload my project code, but I am having some difficulties now.
Information maybe helpful: I’m working on a flipping book project, Since the book would have many pages, I only model four papers and keep replacing the paper model’s map image, each image is about 500KB.

I reduced the size of image and this was solved, it’s weird that Android seems not have this problem

Yeah, that’s because Android has bigger limits. Apple artificially gives the web context small limits and makes it crash early. For example even if you have plenty of memory, Apple causes the Safari tab to crash after something like a 4k or 2k image, even if there is plenty of memory for it. Android on the other hand lets you use your memory.

Basically, this is Apple’s fault on purpose! They’ve been (provably) in the business of making web more difficult for a long time.

1 Like