Skip to content

Eliminate dartdoc-global cache of ModelElements/Analyzer bits #1800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 16, 2018

Conversation

jcollins-g
Copy link
Contributor

Fixes #1799.

Not really sure how the tests managed to pass with this not done. Not impacting regular use of dartdoc, there was a global cache of dart objects in markdown_processor.dart that wasn't getting cleared between runs in the test. Move that to PackageGraph so it lives and dies with the instance, as it should.

After this, I can no longer reproduce #1799.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Oct 15, 2018
@jcollins-g jcollins-g requested review from devoncarew and pq October 15, 2018 22:53
Copy link
Member

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to reset the parallelization change (#1797) here or wait for a follow-up?

@jcollins-g
Copy link
Contributor Author

I think I'd prefer do that in a followup.

@jcollins-g jcollins-g merged commit 6c95c02 into master Oct 16, 2018
@jcollins-g jcollins-g deleted the memory-usage branch November 27, 2018 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants