I'm using a MBP 13" 2014 on macOS high Sierra with a 4k monitor.
The memory usage of WindowsServer can go quite high (up to 40 GB).
The only solution I found is to reboot my computer -- as the memory usage never goes down. The problem started with MacOS Sierra I think.
Does someone has a piece of advice or a better solution than rebooting my computer ?