Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Usage #7

Open
ghost opened this issue May 8, 2015 · 1 comment
Open

Memory Usage #7

ghost opened this issue May 8, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented May 8, 2015

Hi,

Tapping on each segment increases the app memory usage. Also, scrolling through pages increases the memory usage and this memory is never released. You could reach to about 40 MB which leads to crash on a real device. I've tested the example on an iPad Air and it crashes when I scroll on some pages.
Is there a way to fix this? I can't find the leak. The instruments shows allocations related to CFString etc.

@n-studio
Copy link

n-studio commented Jul 6, 2015

I looks like an issue coming from iOS itself. It's not really a leak, just iOS keeping in cache all the emoji images.

Using one's own .png files instead of iOS's ones is the only way I found to solve this issue.
It raises licence issues, but well...

http://stackoverflow.com/questions/31151027/how-to-clear-font-cache-filled-with-emoji-characters/31237110#31237110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant