Results 7 comments of 슈리튬

```js // create AudioResource async function songDownload(url) { const ytdlProcess = ytdl( url, { o: '-', q: '', f: 'bestaudio[ext=webm+acodec=opus+asr=48000]/bestaudio', r: '100K' }, { stdio: ['ignore', 'pipe', 'ignore'] } );...

Thanks for your recommendation. However, I think that ffmpeg used by discordjs/voice module (https://github.com/discordjs/voice/blob/main/src/audio/TransformerGraph.ts)

I will check if there is a bug that corresponds to this issue. Thanks!

Even if all song is finished, result of that script is Running

> I also destroy ytdl's stream below but AudioResource still takes memory. > > ```js > res?.stream.destroy(); > stream?.destroy(); > ``` I agree with that issue because I have also...

state setter of AudioPlayer does not clean-up operations about resource.volume. Could this be the cause of memory leaks? ```js if (oldState.status !== AudioPlayerStatus.Idle && oldState.resource !== newResource) { oldState.resource.playStream.on('error', noop);...

Even if I use youtube-dl-exec as the code of the example, but memory usage still increase. Is there a solution to the increase in memory usage?