By default ubuntu 9.10 can use only 2989MB(3GB) memmory. If you have more than 3GB, you should install x64 version of ubuntu or add PAE support in kernel;
To add PAE support you can recompile kernel or
install kernel from server version of ubuntu. It's easiest way.
sudo apt-get update sudo apt-get install linux-headers-server linux-image-server linux-server
mareshkau@mareshkau:~$ free -m total used free shared buffers cached Mem: 2989 2881 108 0 40 1564 -/+ buffers/cache: 1276 1713 Swap: 7632 0 7632