Snapkit: Swift 3 - SnapKit 3.0.0 leaks Issues

Created on 19 Sep 2016  Â·  9Comments  Â·  Source: SnapKit/SnapKit

New Issue Checklist

| 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

need info

Most helpful comment

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.

All 9 comments

@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!

2016-09-19 1 33 14

Sorry, it's demo
SnapKitTest.zip

I also find many leaks that point to SnapKit

This is fixed now and published v3.0.1.

The situation as it is before.
SnapKitTest.zip

@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.

@robertjpayne Thanks!

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 [email protected] 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.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aeves313 picture aeves313  Â·  4Comments

cjwirth picture cjwirth  Â·  4Comments

netgfx picture netgfx  Â·  3Comments

Shehryar picture Shehryar  Â·  7Comments

romk1n picture romk1n  Â·  3Comments