I've noticed something scary.  My UltraBook IIi has 256 MB.  Here's the
output from top with nothing except JDS running:

last pid:  2314;  load averages:  0.08,  0.32,  0.36                  
11:13:42
67 processes:  62 sleeping, 4 running, 1 on cpu
CPU states: 97.4% idle,  0.7% user,  2.0% kernel,  0.0% iowait,  0.0% swap
Memory: 256M real, 54M free, 228M swap in use, 435M swap free

   PID USERNAME LWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
  2314 root       1  59    0 2072K 1632K cpu      0:00  0.56% top
  1138 root      22  59    0  115M   42M run      0:37  0.49% java
  1370 root      14  49    0  105M   18M run      0:06  0.35% java

Notice that the two Java process are sucking up a large chunk of
memory.  Even if you only look at resident memory, these occupy well
over 50MB.

What are these two Java processes?  Well the "big" one (42MB) appears to
be running com.sun.cacao.container.impl.ContainerPrivate, and the
smaller (18M) one appears to be running /usr/lib/patch/swupna.jar (-wait).

Again, this is UltraSPARC platform stuff.  Admittedly 256 MB is a little
smallish for RAM these days, but still....

What the heck is Cacao?  And why does Java want so much memory?  I
should probably ask this on one of the other lists than laptop-discuss,
but since laptops are often more resource constrained, it still seems
somewhat appropriate to raise the issue here.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191


Reply via email to