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

didReceiveMemoryWarning in YapDatabaseConnection locks up main thread #113

Closed
poppybank opened this issue Aug 26, 2014 · 5 comments
Closed

Comments

@poppybank
Copy link

When the device is in a low memory situation, I'm seeing the didReceiveMemoryWarning in YapDatabaseConnection locking up the main thread for a very long time (30 seconds or longer) as it does its flush. Have other people seen this issue? Does reducing the autoFlushFlags help or hurt in this case?

Thanks,
-Chris

@chrisballinger
Copy link
Contributor

I've seen very long pauses as well, but hadn't taken the time to determine the cause because it happens intermittently. I'm definitely pushing the limits of my 4S.

robbiehanson added a commit that referenced this issue Aug 26, 2014
@robbiehanson
Copy link
Contributor

Let me know if that doesn't fix the issue. Thank you for reporting it.

@poppybank
Copy link
Author

Yep, that works great. Thanks for adding it.

@poppybank
Copy link
Author

Do you know when will this be in an official release on cocoa pods?

@robbiehanson
Copy link
Contributor

Done. Tagged v2.5.2 and updated podspec.

Commit fbfc868

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

3 participants