Not enough memory resources are available to process this command.

Issue #5741 closed
Mark Evans created an issue

Not enough memory resources are available to process this command.

App: LaunchBox
Version: 11.7
Type: System.ComponentModel.Win32Exception
Site: UInt16 RegisterClassEx(WNDCLASSEX_D)
Source: WindowsBase

at MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)
at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
at System.Windows.Interop.HwndSource..ctor(HwndSourceParameters parameters)
at System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.BuildWindow(Int32 x, Int32 y, Visual placementTarget, Boolean transparent, HwndSourceHook hook, AutoResizedEventHandler handler, HwndDpiChangedEventHandler dpiChangedHandler)
at System.Windows.Controls.Primitives.Popup.BuildWindow(Visual targetVisual)
at System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
at System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
at System.Windows.Controls.Primitives.Popup.CreateRootPopupInternal(Popup popup, UIElement child, Boolean bindTreatMousePlacementAsBottomProperty)
at System.Windows.Controls.ToolTip.HookupParentPopup()
at System.Windows.Controls.ToolTip.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Boolean value)
at System.Windows.Controls.PopupControlService.RaiseToolTipOpeningEvent(Boolean fromKeyboard)
at System.Windows.Controls.PopupControlService.<>c__DisplayClass8_0.<InspectElementForToolTip>b__0(Object s, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

18:56:38 Exception

Comments (7)

  1. Jason Carr repo owner

    Hi Mark, unfortunately it looks like this is happening because your system ran out of RAM. How much RAM do you have in your system?

  2. Mark Evans reporter

    I assumed it was the case. I have 16G of RAM. Im surprised how much RAM is used for the scrapping of the ROMS. Is this normal? Ive not had RAM issues before on this Laptop and I run Adobe products. At the time I was using Launch Box, I only had Chrome running at the same time.

  3. Jason Carr repo owner

    No, using that much RAM is not normal; you may have something odd that is sucking up RAM on your system if you’re getting the same issue with other applications as well. You might want to take a look at Task Manager to see what’s using up all the RAM.

  4. Mark Evans reporter

    Its real odd. I tested it again yesterday. I stopped any services/applications that I didnt need open. Fires up LaunchBox and it ran ok for a while when scrapping but if I minimise the app, or click on anything else, I get the RAM error.
    I cant open Task Manager when its running, it just will not open until LaunchBox is closed.
    If I open Task Manager before hand, I cant switch to it while LaunchBox is running to see the usage. Its like LaunchBox is using all resources.
    My laptop is a ASUS ROG so its pretty Fast:
    System Manufacturer ASUSTeK COMPUTER INC.
    Processor Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz, 2496 Mhz, 4 Core(s), 4 Logical Processor(s)
    BaseBoard Manufacturer ASUSTeK COMPUTER INC.
    Installed Physical Memory (RAM) 16.0 GB
    Total Physical Memory 15.9 GB
    Available Physical Memory 5.67 GB
    Total Virtual Memory 18.3 GB
    Available Virtual Memory 4.15 GB
    Page File Space 2.38 GB

    I have a big PC with 32G of RAM and faster processor.
    I may give it a go.
    I was hoping to drop launchBox onto a smaller PC and put it inside an arcade cabinet.

    Thanks for looking into this.

    Mark

  5. Jason Carr repo owner

    I’m doing some memory testing, but unfortunately I’m not seeing any excessive usage while running imports. It’s sticking around 1.5 gigs of memory usage. I’m guessing there’s some kind of weird driver bug or something like that on your system. Either that, or maybe it’s still a different app doing it? It’s hard to say.

  6. Mark Evans reporter

    I tested on my PC and it works fine. It is just on my Laptop.
    Its OK to close. I will use the PC instead.
    Thanks for your help.

  7. Log in to comment