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

Swift 3 - SnapKit 3.0.0 leaks Issues #310

Closed
2 tasks done
swiftli opened this issue Sep 19, 2016 · 9 comments
Closed
2 tasks done

Swift 3 - SnapKit 3.0.0 leaks Issues #310

swiftli opened this issue Sep 19, 2016 · 9 comments

Comments

@swiftli
Copy link

swiftli commented Sep 19, 2016

New Issue Checklist

Issue Info

Info Value
Platform e.g. ios/osx/tvos
Platform Version e.g. 8.0
SnapKit Version e.g. 0.19.0
Integration Method e.g. carthage/cocoapods/manually

Issue Description

Using Xcode 8 and Swift 3.

2016-09-19 9 10 38

demo:
SnapKitTest.zip

@robertjpayne
Copy link
Member

@swiftli can you post more information on the leak tree? Specifically what is leaking?

It could be internal Swift stuff or SnapKit it's really hard to say. Or please attach sample project zip. Thanks!

@swiftli
Copy link
Author

swiftli commented Sep 19, 2016

2016-09-19 1 33 14

Sorry, it's demo
SnapKitTest.zip

@yuyongmao
Copy link

I also find many leaks that point to SnapKit

@robertjpayne
Copy link
Member

This is fixed now and published v3.0.1.

@swiftli
Copy link
Author

swiftli commented Sep 20, 2016

The situation as it is before.
SnapKitTest.zip

@robertjpayne
Copy link
Member

robertjpayne commented Sep 20, 2016

@swiftli yea so now the issue is iOS 10 leaks memory under the hood. If you profile on iOS 9.3 it works fine.

Before Constraints were leaking where as now it's internal Swift data structures. There's not much I can do to fix those unfortunately.

@swiftli
Copy link
Author

swiftli commented Sep 20, 2016

@robertjpayne Thanks!

@Panajev
Copy link

Panajev commented Sep 20, 2016

Could you make a radar in Apple's bug reporter and maybe post as well in either the dev forums or the swift mailing lists? This could be addressed before they ship Swift 3.1 hopefully.

Sent from my iPhone

On 20 Sep 2016, at 07:35, Robert Payne notifications@github.com wrote:

@swiftli yea so now the issue is iOS 10 leaks memory under the hood. If you profile on iOS 9.3 it works fine.

Before Constraints where leaking where as now it's internal Swift data structures. There's not much I can do to fix those unfortunately.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@frogcjn
Copy link

frogcjn commented Oct 26, 2016

2016-10-26 22 46 00

3.0.2 still has leaks. If this is the Leak Agent bug, then we should find the right way to reappear this issue.

@robertjpayne robertjpayne mentioned this issue May 8, 2017
3 tasks
@robertjpayne robertjpayne mentioned this issue Aug 8, 2017
3 tasks
@robertjpayne robertjpayne mentioned this issue Aug 26, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants