Out Of Memory Exception

You found a bug or have any issues? Please post them here!
Post Reply
inl_inc
Posts: 76
Joined: 12 Dec 2013 18:42
Out Of Memory Exception

Post by inl_inc »

ProppFrexx has crashed on me yesterday. Given I was using an older version, so I just upgraded to the latest one.

Bernd, can you please take a look at the error below to confirm if it is fixed in the latest release:

2/4/2015 3:50:00 AM [v3.0.14.32]:********** Error/Exception Information **********
Error Message: Exception of type 'System.OutOfMemoryException' was thrown.
Error Type: System.OutOfMemoryException
Error Source: DevExpress.XtraBars.v14.1.Boolean CheckInternalPreFilterMessageListeners(DevExpress.XtraBars.BarManager, Int32, System.Windows.Forms.Control, IntPtr, IntPtr, IntPtr)
********** System Stack Trace **********
at DevExpress.XtraBars.MessageFilter.BarManagerHook.CheckInternalPreFilterMessageListeners(BarManager manager, Int32 Msg, Control wnd, IntPtr HWnd, IntPtr WParam, IntPtr LParam)
at DevExpress.XtraBars.MessageFilter.BarManagerHook.InternalPreFilterMessage(BarManager manager, Int32 Msg, Control wnd, IntPtr HWnd, IntPtr WParam, IntPtr LParam)
at DevExpress.XtraBars.MessageFilter.BarManagerHook.DevExpress.Utils.Win.Hook.IHookController.InternalPreFilterMessage(Int32 Msg, Control wnd, IntPtr HWnd, IntPtr WParam, IntPtr LParam)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.aa.a(Exception A_0, Boolean A_1)
at ProppFrexx.dd.a(Exception A_0)
at ProppFrexx.dd.b(Exception A_0)
at ProppFrexx.dd.a(Object A_0, ThreadExceptionEventArgs A_1)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at DevExpress.XtraBars.MessageFilter.BarManagerHook.DevExpress.Utils.Win.Hook.IHookController.InternalPreFilterMessage(Int32 Msg, Control wnd, IntPtr HWnd, IntPtr WParam, IntPtr LParam)
at DevExpress.Utils.Win.Hook.HookManager.InternalPreFilterMessage(HookInfo hInfo, Int32 Msg, Control wnd, IntPtr HWnd, IntPtr WParam, IntPtr LParam)
at DevExpress.Utils.Win.Hook.HookManager.WndHook(Int32 ncode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.SafeNativeMethods.GetWindowTextLength(HandleRef hWnd)
at System.Windows.Forms.Control.get_WindowText()
at System.Windows.Forms.Control.get_Text()
at DevExpress.XtraEditors.LabelControl.get_Text()
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.get_EmptyLabel()
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcLines()
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcContentRect(Rectangle bounds)
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcRects()
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcViewInfo(Graphics g)
at DevExpress.XtraEditors.LabelControl.LayoutChanged(Boolean isVisualUpdate)
at DevExpress.XtraEditors.LabelControl.LayoutChanged()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at DevExpress.XtraEditors.LabelControl.set_Text(String value)
at ProppFrexx.bi.a(eo A_0, Double A_1, hc A_2)
at ProppFrexx.eo.e(Int64 A_0)
at ProppFrexx.eo.f(Int64 A_0)
at ProppFrexx.eo.ba(Object A_0, EventArgs A_1)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at ProppFrexx.d2.a(String[] A_0)
********** End **********

2/4/2015 3:56:36 AM [v3.0.14.32]:********** Error/Exception Information **********
Error Message: Exception of type 'System.OutOfMemoryException' was thrown.
Error Type: System.OutOfMemoryException
Error Source: mscorlib.System.Object InternalGetValue(System.String, System.Object, Boolean, Boolean)
********** System Stack Trace **********
at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity)
at Microsoft.Win32.RegistryKey.GetValue(String name)
at System.Diagnostics.PerformanceMonitor.GetData(String item)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String category)
at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at ProppFrexx.dd.a(CancellationToken A_0)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.aa.a(Exception A_0, Boolean A_1)
at ProppFrexx.dd.a(Exception A_0)
at ProppFrexx.dd.b(Exception A_0)
at ProppFrexx.dd.a(CancellationToken A_0)
at ProppFrexx.dd.a1()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
********** End **********

2/4/2015 3:56:42 AM [v3.0.14.32]:********** Error/Exception Information **********
Error Message: Exception of type 'System.OutOfMemoryException' was thrown.
Error Type: System.OutOfMemoryException
Error Source: DevExpress.Utils.v14.1.Void .ctor(System.String)
********** System Stack Trace **********
at DevExpress.Skins.Skin..ctor(String name)
at DevExpress.Skins.Info.SkinXmlLoader.LoadAllSkins(String skinName)
at DevExpress.Skins.Info.SkinXmlLoader.LoadAllSkins(Stream stream, String skinName)
at DevExpress.Skins.Info.SkinXmlCreator.Load()
at DevExpress.Skins.Info.SkinBlobXmlCreator.Load()
at DevExpress.Skins.SkinContainer.Load()
at DevExpress.Skins.SkinContainer.GetSkin(Object productId)
at DevExpress.Skins.SkinManager.GetSkin(Object productId, String skinName)
at DevExpress.Skins.SkinManager.GetSkin(Object productId, ISkinProvider provider)
at DevExpress.XtraEditors.XtraForm.GetSkin()
at DevExpress.XtraEditors.XtraForm.CreateDefaultAppearance()
at DevExpress.XtraEditors.XtraForm.get_DefaultAppearance()
at DevExpress.XtraEditors.XtraForm.GetFont()
at DevExpress.XtraEditors.XtraForm.OnAppearance_Changed(Object sender)
at DevExpress.XtraEditors.XtraForm..ctor()
at ProppFrexx.aa..ctor(Exception A_0, Boolean A_1)
at ProppFrexx.dd.b(Exception A_0)
at ProppFrexx.dd.a(CancellationToken A_0)
at ProppFrexx.dd.a1()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.aa.a(Exception A_0, Boolean A_1)
at ProppFrexx.dd.a(Exception A_0)
at ProppFrexx.dd.b(Exception A_0)
at ProppFrexx.dd.a(Object A_0, UnhandledExceptionEventArgs A_1)
at DevExpress.Skins.Skin..ctor(String name)
at DevExpress.Skins.Info.SkinXmlLoader.LoadAllSkins(String skinName)
at DevExpress.Skins.Info.SkinXmlLoader.LoadAllSkins(Stream stream, String skinName)
at DevExpress.Skins.Info.SkinXmlCreator.Load()
at DevExpress.Skins.Info.SkinBlobXmlCreator.Load()
at DevExpress.Skins.SkinContainer.Load()
at DevExpress.Skins.SkinContainer.GetSkin(Object productId)
at DevExpress.Skins.SkinManager.GetSkin(Object productId, String skinName)
at DevExpress.Skins.SkinManager.GetSkin(Object productId, ISkinProvider provider)
at DevExpress.XtraEditors.XtraForm.GetSkin()
at DevExpress.XtraEditors.XtraForm.CreateDefaultAppearance()
at DevExpress.XtraEditors.XtraForm.get_DefaultAppearance()
at DevExpress.XtraEditors.XtraForm.GetFont()
at DevExpress.XtraEditors.XtraForm.OnAppearance_Changed(Object sender)
at DevExpress.XtraEditors.XtraForm..ctor()
at ProppFrexx.aa..ctor(Exception A_0, Boolean A_1)
at ProppFrexx.dd.b(Exception A_0)
at ProppFrexx.dd.a(CancellationToken A_0)
at ProppFrexx.dd.a1()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
********** End **********
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Out Of Memory Exception

Post by radio42 »

Out of memory errors can not really be fixed as they might indicate that too much memory was used.
Using the media library server might be a solution if you are using hundred of thousands of media entries.
However there had been several bugs being fixed since your version. So upgrading is recommended.
inl_inc
Posts: 76
Joined: 12 Dec 2013 18:42
Re: Out Of Memory Exception

Post by inl_inc »

My libraries are all in wav format so they take up enormous amount of space.

Don't have a spare windows box to set up a dedicated MLS. So the question is - would it be at all beneficial to run MLS on the same host where ProppFrexx is currently running? Or will it not make a difference?

Is there a Linux compile of MLS by any chance?

By the way ProppFrexx was running continuously for almost 2 months (short a week) before that crash. Would love to try to get it to be 100% reliable.
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Out Of Memory Exception

Post by radio42 »

If needed, using a Media Library Server is explained here:
viewtopic.php?f=9&t=1014
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Out Of Memory Exception

Post by radio42 »

The format is irrelevantly! It's just the number of entries.
The MLS can also run on the same machine!
Note that PF is a 32bit app while MLS is a 64bit app.

Post Reply