Skip to content

Conversation

@qining
Copy link
Contributor

@qining qining commented Aug 29, 2018

Without this CL, a builder is kept as the closures for postback decoders and notification readers capture the builder, so the instructions and other intermediate stuffs will be kept alive to the end of the replay execution. This CL fixes this issue.

qining added 3 commits August 31, 2018 14:46
The builder will be kept alive until the replay is done on the device,
while the encoded instructions and resources can be freed before the
replay gets started.
@qining qining changed the title Reduce peak memory usage by clearing encoded instructions in builder Do not cache the instruction builder for replay execution Aug 31, 2018
@qining qining merged commit cdfd015 into google:master Sep 4, 2018
@qining qining deleted the clear-builder branch October 23, 2018 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants