very high memory usage + crash #12435

Closed
opened 2026-01-31 03:15:34 +00:00 by claunia · 9 comments
Owner

Originally created by @LuanVSO on GitHub (Feb 5, 2021).

so opened wt and wasn't doing anything significant, but i noticed my system started having a tough time so i went to check task manager and saw this: (btw mem usage was rising very fast)
image
windows problem reporting did it's thing.
do i need/can send any more detailed logs?

Originally created by @LuanVSO on GitHub (Feb 5, 2021). so opened wt and wasn't doing anything significant, but i noticed my system started having a tough time so i went to check task manager and saw this: (btw mem usage was rising very fast) ![image](https://user-images.githubusercontent.com/43626415/107073719-79d32b80-67c6-11eb-95d5-fe10858cd4b9.png) windows problem reporting did it's thing. do i need/can send any more detailed logs?
Author
Owner

@zadjii-msft commented on GitHub (Feb 12, 2021):

Does this happen consistently? Were you doing anything in particular? We haven't really gotten any other reports of a memory leak or a stack overflow, so this is very unexpected. Unfortunately, I'm not sure "Windows Problem Reporting" reports the issue anywhere we have access too - or if it did, I'm not sure we'd ever be able to find your specific crash.

@zadjii-msft commented on GitHub (Feb 12, 2021): Does this happen consistently? Were you doing anything in particular? We haven't really gotten any other reports of a memory leak or a stack overflow, so this is very unexpected. Unfortunately, I'm not sure "Windows Problem Reporting" reports the issue anywhere we have access too - or if it did, I'm not sure we'd ever be able to find your specific crash.
Author
Owner

@LuanVSO commented on GitHub (Feb 12, 2021):

it was a one off thing, never happened before/after.
it wasn't doing anything at all, i just tried opening a new tab, wt hang, and then i looked at taskmrg and took the screenshot

@LuanVSO commented on GitHub (Feb 12, 2021): it was a one off thing, never happened before/after. it wasn't doing anything at all, i just tried opening a new tab, wt hang, and then i looked at taskmrg and took the screenshot
Author
Owner

@LuanVSO commented on GitHub (Feb 12, 2021):

maybe it was just a random bit flip who knows ¯\_(ツ)_/¯

@LuanVSO commented on GitHub (Feb 12, 2021): maybe it was just a random bit flip who knows `¯\_(ツ)_/¯`
Author
Owner

@zadjii-msft commented on GitHub (Feb 12, 2021):

Yea, if this isn't happening consistently, then I'm not sure there's anything more we can do here. I'm sure if this was widespread, we'd have plenty more reports. If this was even something that was consistent on your machine, then we could determine if a bugfix solved your issue. As it is though, there's nothing consistently causing the issue, so we can't even be sure any code change will fix this.

Do make sure to let us know if this happens again though!

@zadjii-msft commented on GitHub (Feb 12, 2021): Yea, if this isn't happening consistently, then I'm not sure there's anything more we can do here. I'm sure if this was widespread, we'd have plenty more reports. If this was even something that was consistent on your machine, then we could determine if a bugfix solved your issue. As it is though, there's nothing consistently causing the issue, so we can't even be sure any code change will fix this. Do make sure to let us know if this happens again though!
Author
Owner

@LuanVSO commented on GitHub (Feb 12, 2021):

sure 😅👍

@LuanVSO commented on GitHub (Feb 12, 2021): sure 😅👍
Author
Owner

@webloft commented on GitHub (Mar 8, 2022):

Don't know if you guys are testing your code - but I see 600MB+ private bytes as well and it doesn't get reduced if a tab is closed. VmMap shows that most data is history not cleared from heap.

@webloft commented on GitHub (Mar 8, 2022): Don't know if you guys are testing your code - but I see 600MB+ private bytes as well and it doesn't get reduced if a tab is closed. VmMap shows that most data is history not cleared from heap.
Author
Owner

@zadjii-msft commented on GitHub (Mar 8, 2022):

@webloft What are you doing in the Terminal that's getting to 600MB? I've got a Terminal window sitting here with like 10 open panes, and it's sitting at 137MB. Any chance you're like, saving the SUI a bunch of times?

@zadjii-msft commented on GitHub (Mar 8, 2022): @webloft What are you doing in the Terminal that's getting to 600MB? I've got a Terminal window sitting here with like 10 open panes, and it's sitting at 137MB. Any chance you're like, saving the SUI a bunch of times?
Author
Owner

@webloft commented on GitHub (Mar 8, 2022):

I am monitoring output messages of a daemon several hours in one tab and in another one I'm executing some batch scripts. From my observations the main application is allocating:

  • by output appending (it adds 4K each at some cycle)

  • by doing actions on the UI Window, eg. moving the Window seems to allocate without cleaning up (adds ~20K)

@webloft commented on GitHub (Mar 8, 2022): I am monitoring output messages of a daemon several hours in one tab and in another one I'm executing some batch scripts. From my observations the main application is allocating: - by output appending (it adds 4K each at some cycle) - by doing actions on the UI Window, eg. moving the Window seems to allocate without cleaning up (adds ~20K)
Author
Owner

@LegioN2004 commented on GitHub (Mar 1, 2023):

I also had the same issue as the first comment said, a spike in ram usage of windows terminal (stable version), about 3GB after keeping it minimized for about like an hour, I only had two tabs opened , one tab had neovim 9.0 dev(recent dev version from winget) and the other just cd to a directory, as for others i had edge and vscode opened. Sorry I don't have a screenshot as it crashed and i had to restart, I thought I should let you know

@LegioN2004 commented on GitHub (Mar 1, 2023): I also had the same issue as the first comment said, a spike in ram usage of windows terminal (stable version), about 3GB after keeping it minimized for about like an hour, I only had two tabs opened , one tab had neovim 9.0 dev(recent dev version from winget) and the other just cd to a directory, as for others i had edge and vscode opened. Sorry I don't have a screenshot as it crashed and i had to restart, I thought I should let you know
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12435