Skip to content

Memory leak when using capability "autoClickAlertSelector" #1048

@lengyue524

Description

@lengyue524

I'm using wda as server running. After 3 ~ 6 hours running wda crash with memory warning.
Device log WebDriverAgentRunner-Runner Received memory warning.

I use Instruments to check where is memory leak from, then I found this:
Image

I'm using capability "autoClickAlertSelector" to auto click some system Alert.

XCUIApplication and XCApplicationQuery is system class, and has Cycles reference.

Is there a way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions