Skip to content

Lots of small memory leaks #230

@rnystrom

Description

@rnystrom

I'm using codegen 0.18.8 and Apollo 0.8.0 and noticing a huge amount of leaks using the Debug Memory Graph tool. Each of them is 32 bytes and I have 1313 of them, so ~42kb in leaks.

It looks like this all comes from some static selections:

public static let selections: [GraphQLSelection] = [ /* ... */ ];

Is this a concern? If anything, it's eating up a ton of UI when debugging cycles (lots of "load more"). Any tips for working around this?

screen shot 2018-03-18 at 4 11 43 pm

screen shot 2018-03-18 at 4 11 49 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugGenerally incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions