Question: I recently installed kubuntu 16.04 on my Dell studio xps 1640 that has 8GB of Memory installed. Everything is working fine but Something is really bothering me. After a fresh boot up, when i check the system resources, `mysqld` occupies about `150~200MB of RAM` and a bunch of `akonadi` services are running(contacts, birthday,mail\*, sendalter & ...) and i really don't need and use any of these services and it's a waste of Memory. But the serious problem is with mysqld, after a while(3-4 hours) mysqld occupies about `800MB~1GB` of RAM and it won't release that until i reboot the system. I should mention that i don't have any running databases and don't use mysql at all! So only ubuntu is using that.

So my Question is that:

* First, how can i disable (remove) the unwanted akonadi services and don't let them to autostart and run at all (I disabled akonadiserver but didn't help). The only service that I'm using from akonadi is krunner and i really don't need the kMail, Calendar and ... .
* Second, why mysqld is taking this amount of memory(although i guess its related to the akonadi issue mentioned above because the Parent of mysqld process is akonadiserver) and how can i prevent it. because my work is related to RAM usage and i really need the Memory so i can't let that unwanted services use this amount of resource.

I really appreciate it if you would help me to fix this problem.
Thanks in advance for your kind help.

Answer: 
I had the same problem, and although I don't know how to uninstall akonadi, I uninstalled the applications that make usage of it: kontact, kaddressbook, kmail, knotes and korganizer. Akregator doesn't seem to start akonadi so I let it installed.

```
sudo apt-get remove kontact kaddressbook kmail knotes korganizer

```

My memory usage had decreased from almost 900MiB to less than 500MiB after the startup thanks to akonadi not being started. As akonadi is not started, neither it is that mysqld process that ends wasting more than 800MiB after a while (making a total memory usage of 1.5GiB with no any other program running).

If you don't want to uninstall this applications, you can close them all from the system tray. In my case there were running kmail and korganizer. In the case of korganizer, you have to uncheck the option of reminding events from its icon in the system tray (I think it appears as events reminder daemon, or something similar). This way, next time you boot the computer, this processes won't be initialized and akonadi won't be started.

But be aware, starting any of this applications just once will start akonadi until you shut down the computer, it's not killed when you close the application (note: you can stop it from the terminal with 'akonadictl stop').
This is fixed in MySQL 5.7.13 (see Bug 80772): <https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-13.html#mysqld-5-7-13-bug>

This fixed it for me.

At the moment the highest version available through apt is 5.7.12 so to get 5.7.13 you can use one of the options here: <https://dev.mysql.com/downloads/mysql/>

Take your time though. I used the MySQL PPA to install and rushed the whole thing and now I've broken Akonadi in Kubuntu. Which it seems is hard to fix.