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

OutOfMemoryException out of the blue #13998

Closed
1 task done
DJackman123 opened this issue Oct 26, 2021 · 11 comments
Closed
1 task done

OutOfMemoryException out of the blue #13998

DJackman123 opened this issue Oct 26, 2021 · 11 comments
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path

Comments

@DJackman123
Copy link

Microsoft PowerToys version

0.47.1.0

Running as admin

  • Yes

Area(s) with issue?

General

Steps to reproduce

I wasn't actively using PowerToys when this error occurred. In fact, I wasn't even using my computer when the error window popped up. My computer was locked at the time.

✔️ Expected Behavior

No response

❌ Actual Behavior

Version: 0.47.1.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 10/25/2021 5:58:52 PM
Exception:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at Wox.Infrastructure.Exception.ExceptionFormatter.CreateExceptionReport(Exception ex)
at Wox.Infrastructure.Exception.ExceptionFormatter.FormatException(Exception exception)
at PowerLauncher.Helper.ErrorReporting.Report(Exception e, Boolean waitForClose)
at PowerLauncher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
at System.Windows.Threading.Dispatcher.CatchException(Exception e)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run()
at PowerLauncher.App.Main()
2021-10-25.txt

Other Software

No response

@DJackman123 DJackman123 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Oct 26, 2021
@franky920920
Copy link
Contributor

Seems like #13303 but the trace is different.

cc: @jaimecbernardo

@franky920920
Copy link
Contributor

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!
image

@franky920920 franky920920 added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Oct 26, 2021
@DJackman123
Copy link
Author

@ghost ghost added Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Oct 26, 2021
@franky920920
Copy link
Contributor

Error logged in /PowerToys Run/Logs/0.47.1.0/2021-10-25.txt.

@franky920920 franky920920 added the Product-PowerToys Run Improved app launch PT Run (Win+R) Window label Oct 26, 2021
@jaimecbernardo
Copy link
Collaborator

Pretty weird, indeed:

Looks like this was thrown when generating an Exception Report and then another was thrown right away because of it.
Might we have some leak here?
Can you see if PowerToys Run memory keeps running indefinitely in your case?

[2021-10-25 17:58:48.6426] [FATAL]

Exception

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   Source: Wox.Infrastructure
   TargetAssembly: Wox.Infrastructure, Version=0.47.1.0, Culture=neutral, PublicKeyToken=null
   TargetModule: Wox.Infrastructure.dll
   TargetSite: System.String CreateExceptionReport(System.Exception)
   at Wox.Infrastructure.Exception.ExceptionFormatter.CreateExceptionReport(Exception ex)
   at Wox.Infrastructure.Exception.ExceptionFormatter.FormatException(Exception exception)
   at PowerLauncher.Helper.ErrorReporting.Report(Exception e, Boolean waitForClose)
   at PowerLauncher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
   at System.Windows.Threading.Dispatcher.CatchException(Exception e)
   at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
   at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at PowerLauncher.App.Main()

@DJackman123
Copy link
Author

Was there something specific you wanted me to do for this:

Can you see if PowerToys Run memory keeps running indefinitely in your case?

@jaimecbernardo
Copy link
Collaborator

Was there something specific you wanted me to do for this:

Can you see if PowerToys Run memory keeps running indefinitely in your case?

When running it normally, do you see memory usage increase indefinitely?

@crutkas crutkas added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Dec 7, 2021
@crutkas
Copy link
Member

crutkas commented Dec 7, 2021

@DJackman123 do you see a constant increase?

@DJackman123
Copy link
Author

I've only had this error happen once. I watched the memory usage for a little bit and didn't notice much increase.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Dec 7, 2021
@franky920920
Copy link
Contributor

Seems like a #can't-repro

@franky920920 franky920920 added the Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path label Dec 7, 2021
@crutkas
Copy link
Member

crutkas commented Dec 7, 2021

@jaimecbernardo as of now, i think this is close can't repro, correct?

@crutkas crutkas removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path labels Dec 7, 2021
@crutkas crutkas added the Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path label Feb 4, 2022
@crutkas crutkas closed this as completed Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path
Projects
None yet
Development

No branches or pull requests

4 participants