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

[Share extension] Fix a crash when receive a memory warning and add extra logs to debug memory limit exception #2352

Merged
merged 5 commits into from
Apr 2, 2019

Conversation

SBiOSoftWhare
Copy link
Contributor

No description provided.


if (kerr == KERN_SUCCESS)
{
NSLog(@"[ShareExtensionManager] Memory in use (in MiB): %f", memoryUsedInMegabytes);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We seem to talk in MB, not MiB here, no?

Suggested change
NSLog(@"[ShareExtensionManager] Memory in use (in MiB): %f", memoryUsedInMegabytes);
NSLog(@"[ShareExtensionManager] Memory in use (in MB): %f", memoryUsedInMegabytes);

@SBiOSoftWhare SBiOSoftWhare merged commit 271d238 into develop Apr 2, 2019
@SBiOSoftWhare SBiOSoftWhare deleted the share_extension_extra_logs branch April 2, 2019 13:45
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

Successfully merging this pull request may close these issues.

2 participants