I'm completely new to Linux and I'm just trying to understand where all my RAM is going. I've got a pretty fresh install of Xubuntu running as a VMWare guest, and I've given it 1.5GB RAM to play with.
After only running two apps starting up Tomcat servers and also running Firefox, I've got hardly anything left. 160MB according to free -m.
Looking at the output from Top, I see Java appearing twice, each stealing about 1/2 Gig resident memory. Both Tomcat instances use the same jdk, I would have thought I'd only see Java there once.
What's the story?
Update
The free -m output requested:
total used free shared buffers cached
Mem: 1419 1380 39 0 8 111
-/+ buffers/cache: 1259 160
Swap: 509 68 441
Top:
VIRT RES SHR %MEM COMMAND
74764 36m 6032 2.6 Xorg
750m 500m 3436 35.5 java
881m 408m 10m 28.8 java
6128 1876 1588 0.1 vmtoolsd
26156 3408 2672 0.2 vmware-user-load
409m 104m 15m 7.4 firefox-bin
2632 1060 776 0.1 top
3032 1264 812 0.1 init
All zeroes after here.