Reduce the memory consumption of the javascript worker
See original GitHub issueThe Javascript worker seems to take a runtime memory of about ~25MB . It will be better if there is any possibility to reduce that memory consumption

Also ,Is there any options present to pause/stop and restart the worker whenever needed.
setMaximumWorkerIdleTime doesn’t seem to solve my issue
And the docs for that API is saying No-op.
Does this mean , this API is deprecated ?
The parameter value also doesn’t specify whether we have to give time in milliseconds (or) seconds

Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Web Worker consumes massive amount of memory
I found out that if I terminate worker every n repeats and create new one releases memory faster. But it's still not a...
Read more >Memory management - JavaScript - MDN Web Docs
This algorithm reduces the definition of "an object is no longer needed" to "an object is unreachable". This algorithm assumes the knowledge of ......
Read more >Causes of Memory Leaks in JavaScript and How to Avoid Them
In this article, we will explore programming patterns that cause memory leaks in JavaScript and explain how to improve memory management.
Read more >Avoiding Memory Leaks in Node.js: Best Practices for ...
Monitor the Amount of Memory Leakage · Reduce Use of Global Variables · Use Stack Memory Effectively · Use Heap Memory Effectively ·...
Read more >4 Types of Memory Leaks in JavaScript and How to Get Rid Of ...
To find a leak we will now go to the profiles section of Chrome's Dev Tools. To keep memory use in a manageable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No, the module
monaco-editor-core
contains the core editor, without any languages.@alexdima Thanks for your response
What about this one?