I have noticed my router getting slow at times and when I started looking, pretty much all it 512MB RAM was used up. The cause was three dnsmasq instances, while there should only been one (it is loading 400K+ Adblock list, so the footprint is significant.
I tracked it down to my LG TV: it opens two persistent TCP connections to the router to port 53 and each connection spawns a new dnsmasq instance, so I end up with three of those. Another possibility is that it just uses TCP port 53 to communicate with another server and the Adblock iptables rules intercept it and forward to the router.
Is there a way to configure dnsmasq to not listen on TCP and only use UDP?