Skip to content

PFKeyValueCache causing app to be killed because out of memory. #141

@ghugues

Description

@ghugues

If many cached queries are made, my app spends an incredible amount of time in -[PFKeyValueCache _compactDiskCache]. Sometimes between 30s and 1min, and during that time the cpu is running at 100% (out of the 200% available with the 2 cores).

Also memory usage grows really fast during that time (I have yet to determine what is the cause of this). I just ran a test on an iphone 5 with iOS 7, the app quickly reaches about 600Mb and then gets killed by the system (after receiving several memory warnings).

I will look into it more deeply and provide more details and hopefully a way to reproduce. It might take few days since I will be working on an other project this week, but I wanted to report this as soon a possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions