Safari does not like webgl's memory use?

Safari likes to popup messages like “This webpage is using significant memory. Closing it may improve the responsiveness of your Mac” for a webgl page we have.
Is Unity’s webgl content just too memory intensive for most uses?
Anyway to avoid this message?

1 Like

I have seen this…. often.
Is there any difference if you bump up the memory in the build settings?

Oh and it can also says ‘energy’, not memory sometimes after a while!
Well this does not look good for Unity & webgl

it seems ok in my 2D projects, but at some point in a 3D project webGL1.0 seems to balk.

1 Like

Unity does not unfortunately currently support mobile devices. We are investigating these types of scenarios and hope to improve the compatibility here in the future. In the meanwhile, I am afraid this comes down to managing memory usage in the project in question to try if you can slim the build down enough to make it lightweight so that Safari does not complain about it.

You can try using Firefox or Chrome profilers to cross-reference memory usage and performance in the project. For example in Firefox page “about:memory” you can do a snapshot of the page memory usage to get an overall decomposition of where memory is going.