Replies: 2 comments 2 replies
|
Hi @tmirza, thanks for starting this discussion! 👋 The Theia community will take a look soon. In the meantime, you might find helpful information in: 💙 Eclipse Theia is built and maintained by a community of contributors and sponsors. If Theia is valuable to your work, consider sponsoring the project. For professional support, training, or consulting services, learn more about available options. |
|
Hey @tmirza, first off, please don't randomly ping contributors to the project. Anton hasn't contributed here for 5 years now, so you probably won't receive an answer from him anyway ;) Secondly, how large is the file you're trying to stream? It's not usual for node.js processes to keep a large amount of memory, even after reclaiming it during GC internally. Looking through our issues, I haven't seen anything about this problem so far. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Question
Hi,
I have deployed my Theia IDE browser application using a Docker container running on an EC2 instance in an AWS chamber. I have noticed that if I open a large-sized file, I get a dialog about file size, which is fine, but clicking on Yes, Theia backend tries to load the contents of this file and stream to the browser. This results in a sudden spike in memory consumption of my Theia IDE container, and even if I close the tab, this memory is never reclaimed from the node process.
For an EC2 instance with 8GB memory, I see the following in Docker stats for my Theia IDE container after a while.
Is it a known limitation of Theia? Is there any way to reclaim this memory without restarting the Theia IDE container? This huge memory consumption significantly slows down all IDE operations and bogs down the overall IDE performance.
cc: @akosyakov
All reactions