Skip to content

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

Description

@hqq133

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions