Skip to content

Memory Peak during removeExpiredObjects #102

Open

Description

@Janscho

Memory can peak very high in removeExpiredObjects (which might lead to crashes), caused by the for-loop which accesses all elements inside the cache. This could be easily fixed by wrapping the code after the for-loop inside an autoreleasepool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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