CentOS 6.4 x86_64 uses too much memory and swap

view full story

http://www.linuxquestions.org – I`ve been surfing the web for about 1 week and everything I`ve found is "centos knows how to use the ram, don`t worry" but I really think this is a problem. I have a VM with a recent/clean installation of CentOS 6.4 X86_64 final with 1.5GB RAM, 1 processor / 4 cores and 700MB SWAP and the problem is the memory consumption. I installed postgresql, pgadmin3, JRE 7.25 (NOT JDK nor OpenJDK), netbeans 7.3.1 and apache but most of the time (99%) I only need NB and firefox open at the same time. Well, when I open netbeans it uses 300Mb - 350MB, and Firefox 100MB - 150MB and the initial mem (HowTos)