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

Drop file content to conserve memory #1133

Merged
merged 7 commits into from
May 30, 2019

Conversation

MikhailArkhipov
Copy link

When analysis completes for libraries we no longer need file content. However, we do need to cache some strings for PEP hints to be available if new analysis is requested.

Fixes #1132

@MikhailArkhipov MikhailArkhipov merged commit 92bd44a into microsoft:master May 30, 2019
@MikhailArkhipov MikhailArkhipov deleted the dropcontent branch May 30, 2019 22:42
@MikhailArkhipov MikhailArkhipov mentioned this pull request Jun 7, 2019
jakebailey pushed a commit to jakebailey/python-language-server that referenced this pull request Nov 1, 2019
* Remove local variables

* Drop file content to save memory

* Cache PEP hints

* Test fixes

* Add options to keep data in memory
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.

Drop file content to conserve memory after analysis
2 participants