Skip to content

Analysis of peewee with the new LS never finishes #2682

@albireox

Description

@albireox

Environment data

  • VS Code version: 1.28.0-insiders
  • Extension version (available under the Extensions sidebar): 2018.8.1-beta
  • OS and version: 10.14
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.0 (pyenv)
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): none
  • Relevant/affected Python packages and their versions: peewee/master

Actual behavior

I have a local checked out version of peewee. When the new LS tries to analyse the main file, peewee.py, it uses >100% of CPU and the RAM usage increases continuously (over 40GB at some point). This doesn't seem to complete, even after leaving it open and running for an hour. Things like the Go to symbol list never get rendered.

Expected behavior

Less use of resources.

Steps to reproduce:

  1. Check out peewee
  2. Run the new LS

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions