Hey everyone, I'm trying to find out what's using up all my memory on my ubuntu-server installation (Should not have any X Windows running).

Code:
cdavis@ux1:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          2013       1700        312          0         96        178
-/+ buffers/cache:       1425        587
Swap:          551          0        551
cdavis@ux1:~$
And from top, sorted by memory usage:

Code:
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                        
 1071 mysql     20   0  317m  46m 6032 S    0  2.3   0:39.29 mysqld                                                                                                          
 1555 root      20   0 19212  13m 1572 S    0  0.7   0:05.85 miniserv.pl                                                                                                     
 1401 root      20   0 49000 9884 5460 S    0  0.5   0:03.24 apache2                                                                                                         
 6329 cdavis    20   0 11484 7836 1552 S    0  0.4   0:01.17 bash                                                                                                            
 1515 www-data  20   0 50348 7696 1916 S    0  0.4   0:00.78 apache2                                                                                                         
 1516 www-data  20   0 50348 7696 1916 S    0  0.4   0:00.74 apache2                                                                                                         
 1517 www-data  20   0 50348 7696 1916 S    0  0.4   0:00.91 apache2                                                                                                         
 1518 www-data  20   0 50348 7696 1916 S    0  0.4   0:00.54 apache2                                                                                                         
 1519 www-data  20   0 50348 7696 1916 S    0  0.4   0:00.83 apache2                                                                                                         
 6227 root      20   0 11772 3556 2784 S    0  0.2   0:00.19 sshd                                                                                                            
 4946 root      20   0 30124 3264 2632 S    0  0.2   0:00.71 console-kit-dae                                                                                                 
 5013 root      20   0 24560 2748 2352 S    0  0.1   0:00.18 polkitd                                                                                                         
  916 root      20   0  6684 2272 1844 S    0  0.1   0:01.24 sshd                                                                                                            
 1216 root      20   0 15088 2108  752 S    0  0.1   0:03.73 sendmail-mta                                                                                                    
    1 root      20   0  3668 1992 1280 S    0  0.1   0:08.17 init                                                                                                            
  754 root      20   0  4744 1584 1372 S    0  0.1   0:00.04 bluetoothd                                                                                                      
 6328 cdavis    20   0 11772 1508  736 S    0  0.1   0:00.41 sshd                                                                                                            
  657 syslog    20   0 31064 1436 1028 S    0  0.1   0:07.73 rsyslogd                                                                                                        
  396 root      20   0  3184 1344  752 S    0  0.1   0:03.69 udevd                                                                                                           
 7070 cdavis    20   0  2832 1100  864 R    0  0.1   0:00.30 top                                                                                                             
  694 root      20   0  3000 1060  896 S    0  0.1   0:02.51 plymouth-upstar                                                                                                 
  666 messageb  20   0  3392 1052  704 S    0  0.1   0:00.42 dbus-daemon                                                                                                     
  943 root      20   0  4688  972  732 S    0  0.0   0:00.03 vsftpd                                                                                                          
  257 root      20   0  2716  960  792 S    0  0.0   0:00.65 plymouthd                                                                                                       
 1052 root      20   0  2620  892  708 S    0  0.0   0:00.18 cron                                                                                                            
 1019 root      20   0  4632  856  732 S    0  0.0   0:00.02 getty                                                                                                           
 1014 root      20   0  4632  852  732 S    0  0.0   0:00.02 getty                                                                                                           
 1028 root      20   0  4632  852  732 S    0  0.0   0:00.02 getty                                                                                                           
 1035 root      20   0  4632  852  732 S    0  0.0   0:00.06 getty                                                                                                           
 1567 root      20   0  4632  852  732 S    0  0.0   0:00.02 getty                                                                                                           
 1030 root      20   0  4632  848  732 S    0  0.0   0:00.03 getty                                                                                                           
  535 root      20   0  3052  824  292 S    0  0.0   0:00.17 udevd                                                                                                           
  537 root      20   0  3052  756  228 S    0  0.0   0:00.05 udevd                                                                                                           
 1066 root      20   0  3604  632  488 S    0  0.0   0:07.78 irqbalance                                                                                                      
  387 root      20   0  2836  608  452 S    0  0.0   0:01.13 upstart-udev-br                                                                                                 
  824 root      20   0  2848  360  212 S    0  0.0   0:00.06 upstart-socket-                                                                                                 
 1053 daemon    20   0  2472  348  224 S    0  0.0   0:00.02 atd
Nothing seems out of the ordinary to me? Just an Apache/MySQL server...

Anyone able to help?