[Webkit-unassigned] [Bug 189337] New: decodeAudioData memory garbage collected too late

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 6 05:58:23 PDT 2018


            Bug ID: 189337
           Summary: decodeAudioData memory garbage collected too late
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ae at seven.systems

When using decodeAudioData repeatedly with large files (or files that result in a large uncompressed buffer), it takes a very long time until the memory used by decodeAudioData is freed.

I use decodeAudioData to decode an audio file and then just get an overview (peaks) from it, which is only a few kilobytes. I do not hold any references to the buffer, channel data, or file after doing this.

Yet, potentially several hundred MBs of memory are being held by the "Page" process for around one minute after decodeAudioData, and then finally get freed.

Can't this large amount of data be collected earlier?

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180906/b18d6cc9/attachment.html>

More information about the webkit-unassigned mailing list