{"action":"created","issue":{"url":"https://api.github.com/repos/Tyrrrz/LightBulb/issues/32","repository_url":"https://api.github.com/repos/Tyrrrz/LightBulb","labels_url":"https://api.github.com/repos/Tyrrrz/LightBulb/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/Tyrrrz/LightBulb/issues/32/comments","events_url":"https://api.github.com/repos/Tyrrrz/LightBulb/issues/32/events","html_url":"https://github.com/Tyrrrz/LightBulb/issues/32","id":235166570,"node_id":"MDU6SXNzdWUyMzUxNjY1NzA=","number":32,"title":"Lightbulb memory explosion","user":{"login":"mirh","id":9366725,"node_id":"MDQ6VXNlcjkzNjY3MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9366725?v=4","gravatar_id":"","url":"https://api.github.com/users/mirh","html_url":"https://github.com/mirh","followers_url":"https://api.github.com/users/mirh/followers","following_url":"https://api.github.com/users/mirh/following{/other_user}","gists_url":"https://api.github.com/users/mirh/gists{/gist_id}","starred_url":"https://api.github.com/users/mirh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirh/subscriptions","organizations_url":"https://api.github.com/users/mirh/orgs","repos_url":"https://api.github.com/users/mirh/repos","events_url":"https://api.github.com/users/mirh/events{/privacy}","received_events_url":"https://api.github.com/users/mirh/received_events","type":"User","site_admin":false},"labels":[{"id":516958383,"node_id":"MDU6TGFiZWw1MTY5NTgzODM=","url":"https://api.github.com/repos/Tyrrrz/LightBulb/labels/bug","name":"bug","color":"ee0701","default":true},{"id":774901900,"node_id":"MDU6TGFiZWw3NzQ5MDE5MDA=","url":"https://api.github.com/repos/Tyrrrz/LightBulb/labels/cannot%20reproduce","name":"cannot reproduce","color":"911139","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-06-12T09:04:09Z","updated_at":"2018-08-07T21:47:02Z","closed_at":null,"author_association":"NONE","body":"So.. While I was checking the _other computer_ for #29, I right clicked on LB icon... And nothing happened. \r\nI tried again, again, again and nothing. \r\nSo I opened task manager and I noticed that LB was like 300MB of memory.... Whatever I thought?\r\nThen I clicked again and.. boy, it skyrocketed to 1.2GB\r\nThen it suddenly went down to 100, last but not least like 200 and it crashed. \r\nAll without never ever showing the settings menu. \r\n\r\n```\r\nApplication: LightBulb.exe\r\nFrramework version: v4.0.30319\r\nDescription: the process was terminated due to an unhandled exception.\r\nException Info: System.OutOfMemoryException\r\n   in System.Windows.Media.Composition.DUCE+Channel.SyncFlush()\r\n   in System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean, System.Nullable`1<ChannelSet>)\r\n   in System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr)\r\n   in System.Windows.Interop.HwndTarget.HandleMessage(MS.Internal.Interop.WindowMessage, IntPtr, IntPtr)\r\n   in System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)\r\n   in MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)\r\n   in MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)\r\n   in System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)\r\n   in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)\r\n   in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)\r\n   in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)\r\n   in MS.Win32.UnsafeNativeMethods.SetWindowPos(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, Int32, Int32, Int32, Int32)\r\n   in System.Windows.Interop.HwndSource.Resize(System.Windows.Size)\r\n   in System.Windows.Interop.HwndSource.OnLayoutUpdated(System.Object, System.EventArgs)\r\n   in System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()\r\n   in System.Windows.ContextLayoutManager.UpdateLayout()\r\n   in System.Windows.UIElement.UpdateLayout()\r\n   in System.Windows.Interop.HwndSource.SetLayoutSize()\r\n   in System.Windows.Interop.HwndSource.set_RootVisualInternal(System.Windows.Media.Visual)\r\n   in System.Windows.Interop.HwndSource.set_RootVisual(System.Windows.Media.Visual)\r\n   in System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()\r\n   in System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean)\r\n   in System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType)\r\n   in System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty, Boolean)\r\n   in System.Windows.Data.BindingExpressionBase.Invalidate(Boolean)\r\n   in System.Windows.Data.BindingExpression.TransferValue(System.Object, Boolean)\r\n   in System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean)\r\n   in MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean, Boolean, Boolean)\r\n   in MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32, System.ComponentModel.ICollectionView, System.Object, Boolean)\r\n   in MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(System.Windows.DependencyObject, System.Windows.DependencyProperty, Boolean)\r\n   in MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(System.Windows.DependencyObject, System.Windows.DependencyProperty, Boolean)\r\n   in System.Windows.Data.BindingExpression.HandlePropertyInvalidation(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.Data.BindingExpression.OnPropertyInvalidation(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.DependentList.InvalidateDependents(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)\r\n   in System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType)\r\n   in System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)\r\n   in System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)\r\n   in Hardcodet.Wpf.TaskbarNotification.TaskbarIcon.OnToolTipChange(Boolean)\r\n   in Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.ProcessWindowMessage(UInt32, IntPtr, IntPtr)\r\n   in Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.OnWindowMessageReceived(IntPtr, UInt32, IntPtr, IntPtr)\r\n   in MS.Win32.UnsafeNativeMethods.IntGetMessageW(System.Windows.Interop.MSG ByRef, System.Runtime.InteropServices.HandleRef, Int32, Int32)\r\n   in MS.Win32.UnsafeNativeMethods.GetMessageW(System.Windows.Interop.MSG ByRef, System.Runtime.InteropServices.HandleRef, Int32, Int32)\r\n   in System.Windows.Threading.Dispatcher.GetMessage(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32)\r\n   in System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)\r\n   in System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)\r\n   in System.Windows.Application.RunDispatcher(System.Object)\r\n   in System.Windows.Application.RunInternal(System.Windows.Window)\r\n   in System.Windows.Application.Run(System.Windows.Window)\r\n   in LightBulb.App.Main()\r\n```\r\n\r\n[Dump](https://github.com/Tyrrrz/LightBulb/files/1067580/crash.7z.pdf)"},"comment":{"url":"https://api.github.com/repos/Tyrrrz/LightBulb/issues/comments/411213442","html_url":"https://github.com/Tyrrrz/LightBulb/issues/32#issuecomment-411213442","issue_url":"https://api.github.com/repos/Tyrrrz/LightBulb/issues/32","id":411213442,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTIxMzQ0Mg==","user":{"login":"mirh","id":9366725,"node_id":"MDQ6VXNlcjkzNjY3MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9366725?v=4","gravatar_id":"","url":"https://api.github.com/users/mirh","html_url":"https://github.com/mirh","followers_url":"https://api.github.com/users/mirh/followers","following_url":"https://api.github.com/users/mirh/following{/other_user}","gists_url":"https://api.github.com/users/mirh/gists{/gist_id}","starred_url":"https://api.github.com/users/mirh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirh/subscriptions","organizations_url":"https://api.github.com/users/mirh/orgs","repos_url":"https://api.github.com/users/mirh/repos","events_url":"https://api.github.com/users/mirh/events{/privacy}","received_events_url":"https://api.github.com/users/mirh/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T21:47:02Z","updated_at":"2018-08-07T21:47:02Z","author_association":"NONE","body":"Fucking nailed it. \r\nOn the W7 pc this time (after a mere 21 hours uptime), where I seemingly have enough ram that the explosion don't hit page, and can subsequently turn back to the \"usual\" 300MB. \r\n\r\nWith procexp I saw `wpfgfx_v0400.dll!WgxConnection_ShouldForceSoftwareForGraphicsStreamClient+0x7f` spikes in cpu usage when I try to open the right click menu. "}}
{"actor":{"display_login":"mirh"}}