Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Fixing issue where memory would bloat in UITest runner when running o… #70

Merged
merged 1 commit into from
Oct 20, 2019

Conversation

wcrestfield
Copy link
Contributor

…n device. It seemed to have been caused by XCUIApplication() getting called multiple times per execution of an action. Its now only retained once per action. Resolves #23

…n device. It seemed to have been caused by XCUIApplication() getting called multiple times per execution of an action. Its now only retained once per action.
@wojciechczerski
Copy link
Member

Hey there, does this apply to Xcode 10.2 only? I've tested on a device (iOS 13, Xcode 11) using public XCTest actions (see #81) and the memory seems to be stable.

@wojciechczerski
Copy link
Member

Ok, I take it back. I left tests running for some time and when I came back, there was about 8GB of memory used by the UI tests target 😱

With your changes the memory stays on a very low level. Thank for the support! 🎉

@wojciechczerski
Copy link
Member

👍

1 similar comment
@hmttrp
Copy link
Member

hmttrp commented Oct 17, 2019

👍

@wojciechczerski wojciechczerski merged commit 68f49bb into zalando:master Oct 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Memory leaks] Memory keeps increasing for a running monkey
3 participants