OK I have a problem with my VPS. Any 3rd party apps I install and run I get a high amount of memory usage. I've been contacted by dehe support and they logged in and said everything is ok.

Sooo

I installed Sun Directory server 5.2 and when it runs the memory it uses is only 22 megs but under the TOP command it shows the VIRT size close to 800 megs.

I thought it was the way the directory server was written so I tried is again using BEA Weblogic 8.1 and again when it runs TOP looks like this:

Used =22444k used
But under virtual the java process shows 858megs?!?!? On my laptop the same progam on redhat only uses 19megs!

============
top - 11:40:46 up 2 days, 2:13, 2 users, load average: 0.97, 0.50, 0.22
Tasks: 14 total, 2 running, 12 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 100.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2097148k total, 22444k used, 2074704k free, 0k buffers
Swap: 0k total, 944k used, 4294966352k free, 0k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18148 root 16 0 858m 19m 496m S 0.0 1.0 0:01.13 java
27878 rc28 16 0 6896 2260 6396 R 0.0 0.1 0:00.25 sshd
26341 root 16 0 6892 2256 6396 S 0.0 0.1 0:00.09 sshd
27822 root 15 0 6896 2200 6396 S 0.0 0.1 0:00.07 sshd
9224 root 17 0 4008 1516 3632 S 0.0 0.1 0:07.33 sshd
26530 root 16 0 2152 1308 1952 S 0.0 0.1 0:00.03 bash
27884 rc28 16 0 2156 1264 1952 S 0.0 0.1 0:00.02 bash
25880 rc28 15 0 1884 968 1676 R 0.0 0.0 0:00.21 top
9262 root 18 0 4052 952 3704 S 0.0 0.0 0:00.00 saslauthd
9235 root 16 0 2068 792 1740 S 0.0 0.0 0:00.03 xinetd
9249 root 16 0 2456 700 1528 S 0.0 0.0 0:00.14 crond
27699 root 18 0 1572 656 1340 S 0.0 0.0 0:14.45 platform815_lin
8182 root 15 0 1528 556 1356 S 0.0 0.0 0:00.32 syslogd
1 root 15 0 1620 552 1420 S 0.0 0.0 0:00.37 init




Is my VPS configured wrong? Why do I not have a swap space? Is this the norm with VPS as I used linode.com before and this never happened? Mind you this in only the installer for bea weblogic... not the actual server running. It seems any java process goes memory crazy when it comes to VIRT space but RES is ok. Only to the DEHE team it looks like I'm using up 858megs instead of what top's memory usage shows as 22megs.

Please help