Honestly, if you look for most extreme low memory usage possible, use a different wrapper, or adjust it yourself. but the slim branche will allow you to save around 15-25% of memory usage (due to track + queue is trimmed a ton)
Also if you want to save memory usage for tracks, here is something you can also do:
the #requester which you provide by (message.author / interaction.user for example or interaction.member) can be anything you want, it's local for the client, so you know who requested what track, do something like that:
I created a branche, just for users who aim for low-memory usage, yet still want the high features from erela.js!
https://github.com/Tomato6966/erela.js/tree/slim
Honestly, if you look for most extreme low memory usage possible, use a different wrapper, or adjust it yourself. but the
slim
branche will allow you to save around 15-25% of memory usage (due to track + queue is trimmed a ton)Also if you want to save memory usage for tracks, here is something you can also do: the #requester which you provide by (
message.author
/interaction.user
for example orinteraction.member
) can be anything you want, it's local for the client, so you know who requested what track, do something like that: