FreeBSD may have less bloat, but I'm running a web server in a Linux container (debian-slim - so not even as small as you can go with linux) with only 256mb RAM (of which it is only using ~64mb).