bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.44k stars 8.11k forks source link

when play multiple video at the same time ,and then click a vide to play full screen,crash:because it is using too much memory. #5594

Open steven2008 opened 5 months ago

steven2008 commented 5 months ago

The app “XXX” has been killed by the operating system because it is using too much memory. Domain: IDEDebugSessionErrorDomain Code: 11 Recovery Suggestion: Use a memory profiling tool to track the process memory usage. User Info: { DVTErrorCreationDateKey = "2024-04-28 09:29:01 +0000"; IDERunOperationFailingWorker = DBGLLDBLauncher; }

The app “XXX” has been killed by the operating system because it is using too much memory. Domain: IDEDebugSessionErrorDomain Code: 11 Recovery Suggestion: Use a memory profiling tool to track the process memory usage. User Info: { IDERunOperationFailingWorker = DBGLLDBLauncher; }

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_model" = "iPad7,6"; "device_osBuild" = "12.4.1 (16G102)"; "device_platform" = "com.apple.platform.iphoneos"; "dvt_coredevice_version" = "355.24"; "dvt_mobiledevice_version" = "1643.100.58"; "launchSession_schemeCommand" = Run; "launchSession_state" = 2; "launchSession_targetArch" = arm64; "operation_duration_ms" = 186360; "operation_errorCode" = 11; "operation_errorDomain" = IDEDebugSessionErrorDomain; "operation_errorWorker" = DBGLLDBLauncher; "operation_name" = IDEiPhoneRunOperationWorkerGroup; "param_debugger_attachToExtensions" = 0; "param_debugger_attachToXPC" = 1; "param_debugger_type" = 5; "param_destination_isProxy" = 0; "param_destination_platform" = "com.apple.platform.iphoneos"; "param_diag_MainThreadChecker_stopOnIssue" = 0; "param_diag_MallocStackLogging_enableDuringAttach" = 0; "param_diag_MallocStackLogging_enableForXPC" = 1; "param_diag_allowLocationSimulation" = 1; "param_diag_checker_tpc_enable" = 1; "param_diag_gpu_frameCapture_enable" = 0; "param_diag_gpu_shaderValidation_enable" = 0; "param_diag_gpu_validation_enable" = 0; "param_diag_memoryGraphOnResourceException" = 0; "param_diag_queueDebugging_enable" = 1; "param_diag_runtimeProfile_generate" = 0; "param_diag_sanitizer_asan_enable" = 0; "param_diag_sanitizer_tsan_enable" = 0; "param_diag_sanitizer_tsan_stopOnIssue" = 0; "param_diag_sanitizer_ubsan_stopOnIssue" = 0; "param_diag_showNonLocalizedStrings" = 0; "param_diag_viewDebugging_enabled" = 1; "param_diag_viewDebugging_insertDylibOnLaunch" = 1; "param_install_style" = 0; "param_launcher_UID" = 2; "param_launcher_allowDeviceSensorReplayData" = 0; "param_launcher_kind" = 0; "param_launcher_style" = 0; "param_launcher_substyle" = 0; "param_runnable_appExtensionHostRunMode" = 0; "param_runnable_productType" = "com.apple.product-type.application"; "param_structuredConsoleMode" = 1; "param_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphoneos17.4"; "sdk_osVersion" = "17.4"; "sdk_variant" = iphoneos; }

System Information

macOS Version 14.4.1 (Build 23E224) Xcode 15.3 (22618) (Build 15E204a) Timestamp: 2024-04-28T17:29:01+08:00

RATime360 commented 5 months ago

需要看option设置 和内存使用情况的分布,进一步优化定位问题

chenanghui commented 4 months ago

是不是把主线程刷新UI的那个问题解决了以后才出现的,不处理那个试试