Skip to content

2.5gb on small project #28540

Closed
Closed
@edunsouza

Description

@edunsouza

I have a small project of Natural Language Processing and there are 2 files with 37k lines, which contains the datasets. The problem occurs even when i'm not using those files. Not even opening the files. I have to use other editor to run "node index.js" -my main fail.

I dont know how the problem starts, but when i open the vscode editor, it goes up to 2.5gb of ram on the startup. I dont know what is happening.

Activity

chrmarti

chrmarti commented on Nov 12, 2018

@chrmarti

/needsMoreInfo

What is the file type of the data files?

self-assigned this
on Nov 12, 2018
vscodebot

vscodebot commented on Nov 12, 2018

@vscodebot

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

edunsouza

edunsouza commented on Nov 13, 2018

@edunsouza
Author

/needsMoreInfo

What is the file type of the data files?

They are all javascript and json files.
Vscode takes a while to shoot up the memory. When it does, the ram usage goes up to 2.5gb and starts to freeze some features.

chrmarti

chrmarti commented on Nov 13, 2018

@chrmarti

Does it reproduce when starting with code --disable-extensions?

edunsouza

edunsouza commented on Nov 13, 2018

@edunsouza
Author
assigned and unassigned on Nov 13, 2018
mjbvz

mjbvz commented on Nov 14, 2018

@mjbvz
Contributor

@edunsouza Can you share those source files?

edunsouza

edunsouza commented on Nov 14, 2018

@edunsouza
Author

@mjbvz of course I can! And I'll be happy if I can help to find out the problem.

The files are available on the repository: https://github.com/edunsouza/communicator

transferred this issue frommicrosoft/vscodeon Nov 15, 2018
mjbvz

mjbvz commented on Nov 15, 2018

@mjbvz
Contributor

Tested using typescript@3.2.0-dev.20181114

Switching between the js files in dataset/ I can still easily get up to over a GB. Seems mostly to happen after switching to another js file not under dataset.

Logs:
tsserver.log

removed their assignment
on Nov 15, 2018

17 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: PerformanceReports of unusually slow behaviorFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @DanielRosenwasser@weswigham@ahejlsberg@chrmarti@mjbvz

    Issue actions

      2.5gb on small project · Issue #28540 · microsoft/TypeScript