Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent huge Browsermetrics files from being generated under the directory of Webview cache? #1605

Closed
ztextplus opened this issue Aug 5, 2021 · 9 comments
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@ztextplus
Copy link

ztextplus commented Aug 5, 2021

huge Browsermetrics file is generated under the Webview cache directory
image

How to avoid generating such a large folder?

AB#35082726

@ztextplus ztextplus added the bug Something isn't working label Aug 5, 2021
@champnic
Copy link
Member

champnic commented Aug 5, 2021

Hey @ztextplus - that's definitely not intended. I'm opening this bug on our backlog to take a look.

How long has the app been running for?

@champnic champnic added the tracked We are tracking this work internally. label Aug 5, 2021
@champnic
Copy link
Member

champnic commented Aug 5, 2021

Also, can you verify in Explorer that it's actually 103GB?

@lingamy
Copy link
Collaborator

lingamy commented Aug 5, 2021

@ztextplus , can you also share what's inside the BrowserMetrics. Is that many files or large file? If it's many files, what's roughly the size of those files?

@ztextplus
Copy link
Author

@lingamy @champnic The space occupied by the file is indeed 103G. I am very sorry, because it is a screenshot provided by one of our customers, and we cannot provide more specific information for the time being.

@lingamy
Copy link
Collaborator

lingamy commented Aug 6, 2021

@ztextplus It will be hard to diagnose without addtional data. Will you be able to tell us the version of the WebView2 runtime running on this machine and how long the app has been running?

@ztextplus
Copy link
Author

@lingamy
image
Customer feedback said that Webview2 was called continuously, and then files were generated continuously, which caused the C drive to be full for a while.

@purchasea
Copy link

I'm seeing the exact same issue. Seems to have started happening on 06-Aug. All files are 2048Kb and are generated every few seconds.
There seems to be some interaction with the Zoom client for me as these files are created when the Zoom client is running. Deleting the files during this time sometimes generates the message in the attached screenshot, which points the finger at Edge Webview2
BrowserMetrics
WebView2 version is 92.0.902.67

@lingamy
Copy link
Collaborator

lingamy commented Aug 13, 2021

@ztextplus @purchasea , a change has been made today that should address this issue, it should show up in edge canary in 1-2 days and will be available in WebView runtime 94. Thank you for reporting the issue!

@champnic
Copy link
Member

champnic commented Oct 8, 2021

This is fixed in runtimes 94.0.982.0+. Thanks!

@champnic champnic closed this as completed Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

4 participants