Seeing how Jellyfin runs on raspberry pi 4 your Synology must be very fast with lots of ram.
If you aren't streaming over the internet, disable transcoding and you're more or less only limited by bandwidth.
Perhaps it'll use much more RAM transcoding, but I'd still expect a dedicated 2GiB to be plenty for Jellyfin even in extreme cases. I doubt you'll get any decent transcoding speed out of ffmpeg if you need a buffer that size anyway.
It's certainly not as quick as on my desktop, but it's rare if 2 people in my household stream video from it so no trouble so far.
I have only recently switched from desktop to NAS though, so perhaps I'll notice the performance later on.