issue with limiting java's memory usage

Alexander Best arundel at freebsd.org
Sun Jan 29 19:34:11 UTC 2012


hi there,

maybe i'm missing something obvious, but i don't quite understand the following
top(1) output:

last pid: 13875;  load averages:  0.73,  0.75,  0.68
65 processes:  2 running, 62 sleeping, 1 waiting
CPU 0: 19.5% user,  0.0% nice, 13.3% system,  0.0% interrupt, 67.2% idle
CPU 1: 20.3% user,  0.0% nice,  7.8% system,  0.0% interrupt, 71.9% idle
Mem: 1365M Active, 185M Inact, 323M Wired, 69M Cache, 213M Buf, 32M Free
Swap: 10G Total, 2494M Used, 7746M Free, 24% Inuse, 4K In

  PID    UID    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
 6913   1001     32  20    0  4252M  1312M uwait   0  18.3H 39.06% /usr/local/diablo-jdk1.6.0/bin/java -Xmx512m -jar JDownloade

...how can the size of the resident memory of pid 6913 be > 512 megabytes?


this is wth a very recent HEAD on amd64.

cheers.
alex



More information about the freebsd-questions mailing list