Each time you decode an audio file, the memory usage of the Chrome tab increases by about 100 MB (for a typical MP3 file).
OfflineAudioContext.decodeAudioData , on the contrary, behaves quite differently: it frees memory after decoding the file.
Why does the "online" AudioContext keep all this memory intact?
source share