My trace file from today, and can easily consistently replicate:
2022-05-25 15:44:27:072 *************** unhandled exception trapped *************** 2022-05-25 15:44:27:072 Not enough quota is available to process this command 2022-05-25 15:44:27:075 System.ComponentModel.Win32Exception (0x80004005): Not enough quota is available to process this command at System.Windows.Interop.HwndTarget.UpdateWindowSett ings(Boolean enableRenderTarget, Nullable`1 channelSet) at System.Windows.Interop.HwndTarget.UpdateWindowPos( IntPtr lParam) at System.Windows.Interop.HwndTarget.HandleMessage(Wi ndowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilter Message(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o) at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Anyone know of a way to further analyze the problem?
I've also noticed that after this error occurs, shutting down NinjaTrader doesn't end the process. In task manager, NinjaTrader moves from active apps category to Background Processes, but is still consuming the full amount of RAM it did prior to shutting NinjaTrader down.
Back to the original post that created this thread, I suspect the indicator is locking something, and fails to unlock, which then generates a many errors and exceeds the Windows Messaging Queue.
Any ideas how to see the contents of the message?

Comment