According to this stackexchange thread https://unix.stackexchange.com/questions/36450/how-can-i-find-a-memory-leak-of-a-running-process/282944 Here is almost guarantee steps to find who is leaking the memory
the dumps just posted should have enough information to be able to find the leaking code sections in Xorg. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1815693 Title: Kubuntu 18.10 Xorg severe memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1815693/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp