I like EDGE and use it since alpha ,a huge PERFORMANCE BUG(since 118 ,the bug can't avoid by flag)

Brass Contributor

This long thread will take your some time to read.

 

A long-term BUG or design problem regarding the integration of EDGE and WINDOWS Explorer (EXPLORER.EXE) ALT+TAB view.


This bug is very unbearable for me, and nearly 30 years of programming experience generally makes me try to solve the problem myself, but in the end, there is nothing I can do, and I decided to write my findings here.

Recap:
1. This property integrates some tabs of EDGE with windows explorer in ALT+TAB to provide faster task switching
2. I turned off this function in the settings, and the corresponding registry key value is: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\MultiTaskingAltTabFilter' = 3

Problem Description:

1. In daily life, I am used to keeping 600-700 TABs in EDGE. With the latest version of the tab sleep function, EDGE works well, but EXPLORER will start to crash as my TAB increases.

2. After observation, it is known that in this case, EXPLORER's GDI OBJECT and HANDER will grow abnormally, so as to break the default limit of 10000, and then crash. After the crash, HANDER will increase slowly, and this behavior will continue to loop

my thoughts:
1. In my programmer's thinking mode for many years, when you turn off this function, EDGE should not share the content of TAB with EXPLORER, occupying system resources for no reason, but should cut off the information of this API. He only needs to tell EXPLORER How many windows you have, the title content of each WINDOW is enough.

2. Before the EDGE browser added ALT+TAB to switch tabs, I even reached 1000 tabs. The system runs smoothly without any experience problems, and the EXPLORER will not crash. My intuition tells me that this function is the cause

3.The registry key 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\MultiTaskingAltTabFilter' = 3 just hides these TABs, but in fact these TAB views still occupy full system resources (handle resources in EXPLORER), This kind of deception can't really solve the performance problem of the system. The real shutdown of this problem should be made by the EDGE development team and the WINDOWS development team to make some kind of switch/registry/group policy, so that EXPLORER completely ignores the details of the EDGE tab content in certain cases .

 

I made a crashdump and some picture to help your find the problem all of @Edgedev.

Wish you can fix this problem ASAP , thank you !

 

9 Replies
I found a edge flag before :
edge://flags/#edge-window-tab-manager
can turn this feature off but the flag is removed .

Recently, the #edge-window-tab-manager flag has been added back to the Edge browser, finally solving a bug that had been bothering me for more than 10 versions. As shown in the picture, by default, Edge's tab handles and GDI objects are completely injected into the explorer process (I usually open 1000+ tabs because I don't use bookmarks much). When the number of GDI objects exceeds 10000, explorer will start crashing continuously. I tried changing the threshold to 15000, but it didn't work. After disabling this flag, the browser finally returned to its previous smoothness.

I would like to request the esteemed developers to implement a filter when submitting tab information to explorer, instead of blindly submitting all data. Explorer cannot handle so much tab information. For example, only the most recent 5/20/100 tabs should be submitted. Moreover, explorer should have some validation awareness because the alt+tab function to display Edge tabs is disabled, and it should not receive and store this information (it should be ignored). In terms of performance, the computer runs as smoothly as Dove chocolate after disabling this flag. When it is enabled, there are various lags.

近日的edge版本中加回了 #edge-window-tab-manager 这个flag ,终于解决了困扰我10个多版本的bug,如图所示,在默认情况下,edge的tab句柄和gdi对象会被完整的灌输到explorer进程(我平时常常打开1000+tab,因为我不怎么使用收藏夹)。在gdi对象超过10000后explorer会开始不断的崩溃,我将阈值改为15000但没有用。在disable掉这个flag之后,浏览器终于返回了从前的丝滑。 我想请求尊敬的开发者们,explorer并不能处理如此多的tab信息,是否应该在提交tab信息给explorer的时候做一个过滤器?(如最近5/20/100个tab之类的),而不是一股脑的提交数据,explorer那边也应该有校验的意识,因为我的alt+tab显示edge标签的功能是关闭的,他本不应该接收并存储这些信息(应该忽略)。在性能方面,关闭这个flag后整个电脑运行的如德芙般丝滑。打开后就各种卡顿。


this bug appear again with edge 118
neither have the #edge-window-tab-manager flag and fix the bug.
The return of this bug now also impacts the new virtual desktop switch animation negatively. Each of these small windows contribute a small extra load leading extra hitching and hiccups. The animation is notably smoother if I switch to Chrome from edge.

Any official update or is MS still refusing to acknowledge the problem? 

 

I have 1000+ tabs open with workona extension to limit active tabs to 5, the rest are snoozed/sleep, and additionally I use an autoplay stopper extension. System resources are plentiful, 20gb RAM with only 14gb in use. The problem still persists.

 

Would switch to Chrome but no native vertical tab support. Row based seems prehistoric. 

“#edge-window-tab-manager” has once again been removed in the Edge 123 version. However, the bug remains unresolved (in the 24H2 release preview channel). Once again, is this issue really as difficult to solve as the chessboard pattern in the CHROMIUM browser (which took over a year to address)?