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

CCtexturecache loads textures after the other raises the OOM exception #71

Open
hqq133 opened this issue Jun 16, 2013 · 0 comments
Open

Comments

@hqq133
Copy link

hqq133 commented Jun 16, 2013

it seems that the bitmaps aren't released at the time of the next allocation ,

The Eclipse Memory Analyzer reported that at the time the WeakHashMap reloadMap inside of GLResourceHelper was holding on to all of its keys and values, none of them were being released. Every single that had called GLResourceHelper.addLoader was being held inside of reloadMap (both res and loader).
So overtime this was adding up and causing the leak.

is there a fix for this particular issue ?

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