zhw2590582 / WFPlayer

:ocean: WFPlayer.js is an audio waveform generator
https://wfplayer.js.org
MIT License
262 stars 32 forks source link

+1h audio file destroys the ram #43

Closed ExtReMLapin closed 1 year ago

ExtReMLapin commented 1 year ago

Hello, even with 32gb of ram, it fills up on chrome and firefox when I use a 1h30 audio WAV file

Taskmgr_PgUsXqMMZW

ExtReMLapin commented 1 year ago

I know the description states with video but here it's already audio, but in WAV format, is it an issue ?

zhw2590582 commented 1 year ago

You can see this: https://github.com/zhw2590582/WFPlayer/issues/39#issuecomment-1362828204

ExtReMLapin commented 1 year ago

Alright, from what I understood, it straight out (tries) loads the WHOLE file .

Why not parse and keep in memory only what's near the position of the cursor ?

ExtReMLapin commented 1 year ago

I'll stick to mp3 file, that'll be easier