Crashing when I used rectangle

Hello
I use many rectangle in my app to embed iframe video and I got error on Xcode ( receive memory warning and crash)
How can I resolve it?
Thank you so much.

Maybe update 8.2.1 solves this

I used Xcode 8.2.1 but still crashing.
Anyone help me?

The iPhone will kill applications that are consuming too much memory. If your embedded web view has a lot going on (this could be huge images, video, etc.) then you are at risk for your app being killed by the system. In general, reducing complexity can help. You can also try unchecking 'Use WebKit graphics acceleration" in Hype’s Document Inspector; sometimes this can change the memory characteristics of animations.

Safari has new memory tools that can often help:

https://webkit.org/blog/6425/memory-debugging-with-web-inspector/