Post by ejpluto on Jul 26, 2021 9:12:08 GMT -5
Hi everyone,
Sorry if this is the wrong place to ask this, but I wasn't sure. I'm getting a pretty big error at the moment - every time I try to make content, I get the error message below. Obviously, my thought was that it must mean my computer is out of memory space...but it isn't. I have plenty of storage space on both my C and D drive. I uninstalled S4S altogether and then reinstalled it to make sure I was using the most recently updated version, and put it on my D drive which has the most amount of space available. Still, I get this message. I'm not really sure what to do? I made sure all other programmes were closed, but nothing seems to work. If anybody could help, I'd be really appreciative. Thanks!
Error code:
The Sims 4 Studio - Version 3.1.5.2
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb)
at S4Studio.AMDCompress.PrepareDestinationTexture(AMD_TC_FORMAT destFormat, UInt32 width, UInt32 height)
at S4Studio.AMDCompress.DecompressImage(Stream stream, Boolean fast)
at S4Studio.AMDCompress.DecompressImage(Byte[] buffer, Boolean fast)
at S4Studio.Data.IO.Images.DSTImageResource.get_Bitmap()
at S4Studio.ViewModels.WPFObjectMeshPreview.RefreshTexture()
at S4Studio.ViewModels.ObjectLodItem.RefreshTexture()
at S4Studio.ViewModels.ObjectCustomContentViewModel.UpdatePreview()
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.OnSelectedSwatchChanged()
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent.OnSelectedSwatchChanged()
at S4Studio.ViewModels.ObjectCustomContentViewModel.OnSelectedSwatchChanged()
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.set_SelectedSwatch(Sims4SwatchContent value)
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.OnSwatchesCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent.OnSwatchesCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
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 S4Studio.ViewModels.Generic.CatalogSims4CustomContent.AddSwatch()
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.<.ctor>b__11_2()
at S4Studio.ViewModels.GenericUserCommand.<>c__DisplayClass8_0.<.ctor>b__1(Object y)
at S4Studio.ViewModels.GenericUserCommand.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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Sorry if this is the wrong place to ask this, but I wasn't sure. I'm getting a pretty big error at the moment - every time I try to make content, I get the error message below. Obviously, my thought was that it must mean my computer is out of memory space...but it isn't. I have plenty of storage space on both my C and D drive. I uninstalled S4S altogether and then reinstalled it to make sure I was using the most recently updated version, and put it on my D drive which has the most amount of space available. Still, I get this message. I'm not really sure what to do? I made sure all other programmes were closed, but nothing seems to work. If anybody could help, I'd be really appreciative. Thanks!
Error code:
The Sims 4 Studio - Version 3.1.5.2
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb)
at S4Studio.AMDCompress.PrepareDestinationTexture(AMD_TC_FORMAT destFormat, UInt32 width, UInt32 height)
at S4Studio.AMDCompress.DecompressImage(Stream stream, Boolean fast)
at S4Studio.AMDCompress.DecompressImage(Byte[] buffer, Boolean fast)
at S4Studio.Data.IO.Images.DSTImageResource.get_Bitmap()
at S4Studio.ViewModels.WPFObjectMeshPreview.RefreshTexture()
at S4Studio.ViewModels.ObjectLodItem.RefreshTexture()
at S4Studio.ViewModels.ObjectCustomContentViewModel.UpdatePreview()
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.OnSelectedSwatchChanged()
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent.OnSelectedSwatchChanged()
at S4Studio.ViewModels.ObjectCustomContentViewModel.OnSelectedSwatchChanged()
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.set_SelectedSwatch(Sims4SwatchContent value)
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.OnSwatchesCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent.OnSwatchesCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
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 S4Studio.ViewModels.Generic.CatalogSims4CustomContent.AddSwatch()
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.<.ctor>b__11_2()
at S4Studio.ViewModels.GenericUserCommand.<>c__DisplayClass8_0.<.ctor>b__1(Object y)
at S4Studio.ViewModels.GenericUserCommand.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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)