This project is read-only.
1
Vote

Vidcoder crash

description

Hi,

I was queuing up a bunch of videos for encoding, when Vidcoder crashed with the following error:
System.Data.SQLite.SQLiteException (0x80004005): malloc() failed
out of memory
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at VidCoder.Model.DatabaseConfig.SetConfigValue(String configName, String configValue, SQLiteConnection connection) in d:\docs\projects\VidCoder\VidCoder\Model\DatabaseConfig.cs:line 137
   at VidCoder.ViewModel.Components.ProcessingViewModel.SaveEncodeQueue() in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 1458
   at VidCoder.ViewModel.Components.ProcessingViewModel.<.ctor>b__1(Object sender, NotifyCollectionChangedEventArgs e) in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 75
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.Add(T item)
   at VidCoder.ViewModel.Components.ProcessingViewModel.Queue(EncodeJobViewModel encodeJobVM) in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 832
   at VidCoder.ViewModel.Components.ProcessingViewModel.TryQueue() in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 814
   at VidCoder.ViewModel.Components.ProcessingViewModel.<get_AddToQueueCommand>b__11() in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 495
   at GalaSoft.MvvmLight.Command.RelayCommand.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Any idea what caused this?

Regards,

Ahari

comments

RandomEngy wrote Oct 23, 2014 at 8:14 PM

"System.Data.SQLite.SQLiteException (0x80004005): malloc() failed - out of memory"

I would guess you ran out of memory. Are you using the 32-bit version? How much memory did you have and how much was VidCoder taking up?

Ahari wrote Oct 27, 2014 at 4:55 AM

I have the 32-bit version as recommended on the download page. My machine has 16GB Ram.

How do I see how much Vidcoder was using - I'm no expert at this!

RandomEngy wrote Oct 27, 2014 at 5:35 PM

You should use the 64-bit version. The download page has the 32-bit version as the first download link but it's not necessarily recommended unless you're on a 32-bit system (which are getting more and more rare theses days).