Mysql process taking all the memory

Solution 1:

Nothing is happening.

MySQL has a bunch of processes and is waiting for something to do. Notice how the columns are 0.0% CPU and 8.1% memory. That 8.1% is just the shared about MySQL needs to run, but it isn't really doing anything since it has zero percent CPU usage.

This can also be confirmed by the output of SHOW PROCESSLIST, which shows no-one is connected (so no queries are being run).