rnystrom / RNGridMenu

A grid menu with elastic layout, depth of field, and realistic animation.
MIT License
1.28k stars 192 forks source link

Memory retained without any leaks reported #1

Closed rnystrom closed 11 years ago

rnystrom commented 11 years ago

Somewhere in the blur category there is a "leak". You can replicate this by running Instruments with Allocations on the demo. By toggling the menu over and over you'll see a gradual rise in memory use. If you use a retina iPad its an increase of almost 3mb per step! This is completely unacceptable.

I'm having a hard time figuring out where memory is being retained. The screenshot of the current view is taken on line 389 and line 452.

If anyone has any idea about what might be causing this, either respond here or offer a Pull Request to fix. I'd love any help!