Skip to content

java.lang.OutOfMemoryError Failed to allocate a 8388624 byte allocation with 239640 free bytes and 234KB until OOM, target footprint 536870912, growth limit 536870912 carnegietechnologies.gallery_saver.FileUtils.insertVideo(FileUtils.kt:299) #218

@jinpang

Description

@jinpang

版本:gallery_saver: ^2.3.2
java.lang.OutOfMemoryError Failed to allocate a 8388624 byte allocation with 239640 free bytes and 234KB until OOM, target footprint 536870912, growth limit 536870912 carnegietechnologies.gallery_saver.FileUtils.insertVideo(FileUtils.kt:299)

carnegietechnologies.gallery_saver.FileUtils.insertVideo(FileUtils.kt:299)
carnegietechnologies.gallery_saver.FileUtils.insertVideo$default(FileUtils.kt:251)
carnegietechnologies.gallery_saver.GallerySaver$saveMediaFile$1$success$1.invokeSuspend(GallerySaver.kt:68)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

这种情况该如何处理?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions