Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: OutOfMemoryException in Preview Pane #14791

Open
yaira2 opened this issue Feb 20, 2024 · 5 comments · Fixed by #16051
Open

Bug: OutOfMemoryException in Preview Pane #14791

yaira2 opened this issue Feb 20, 2024 · 5 comments · Fixed by #16051
Labels
area - info pane Features or bug reports relating to the info pane crash Bug reports involving a crash

Comments

@yaira2
Copy link
Member

yaira2 commented Feb 20, 2024

Description

ExceptionHelpers.g__Throw|39_0 (Int32 hr)

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.

WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr)
ABI.Microsoft.UI.Xaml.Controls
IMediaPlayerElementMethods.set_Source (IObjectReference _obj, IMediaPlaybackSource value)
Files.App.UserControls.FilePreviews.MediaPreview
MediaPreview_obj1_Bindings.Loading (FrameworkElement src, Object data)
WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_global__Microsoft_UI_Xaml_FrameworkElement__object_
EventState.<GetEventInvoke>b__1_0 (FrameworkElement sender, Object args)
ABI.Windows.Foundation
TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi] (Void* thisPtr, TSenderAbi sender, TResultAbi args)
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr)
ABI.Windows.ApplicationModel.Core
IUnhandledErrorMethods.Propagate (IObjectReference _obj)
Microsoft.AppCenter.Utils
ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)

Steps To Reproduce

  1. Select media file (it's hard to know how large media file should be)
  2. Try previewing it in preview pane

Requirements

Files Version

v3.2.2

Windows Version

Windows 11

Log File

@yaira2 yaira2 added bug crash Bug reports involving a crash labels Feb 20, 2024
@yaira2 yaira2 moved this to 🔖 Ready to build in Files task board Feb 20, 2024
@hishitetsu
Copy link
Member

One possibility is previewing media files via MTP. However, it is not appropriate to uniformly disable previews because MTP may or may not support streaming on different devices.

Copy link

sentry-io bot commented Jun 18, 2024

Sentry Issue: FILES-APP-A

@Josh65-2201 Josh65-2201 moved this from 🔖 Ready to build to 🏗 In progress in Files task board Aug 21, 2024
@yaira2 yaira2 added the area - info pane Features or bug reports relating to the info pane label Aug 22, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Files task board Aug 22, 2024
@yaira2
Copy link
Member Author

yaira2 commented Aug 23, 2024

It looks like this is still occuring

@yaira2 yaira2 reopened this Aug 23, 2024
@github-project-automation github-project-automation bot moved this from ✅ Done to 🆕 New in Files task board Aug 23, 2024
@yaira2 yaira2 moved this from 🆕 New to 🔖 Ready to build in Files task board Aug 23, 2024
@yaira2 yaira2 removed the bug label Oct 7, 2024
@NilayParikh33
Copy link

is this bug is still open I can try for this?

@yaira2
Copy link
Member Author

yaira2 commented Mar 30, 2025

I haven't checked with the latest preview, but I'm pretty sure it's still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area - info pane Features or bug reports relating to the info pane crash Bug reports involving a crash
Projects
Status: 🔖 Ready to build
Development

Successfully merging a pull request may close this issue.

3 participants