why a java proccess's resident memory and virtual memory usage is very different between jre 1.6.43 and jre 1.7.25 -
when java proccess run in jre 1.6.43,i use top command monitor memory usage,show fellow:
top - 09:14:05 13 days, 23:04, 2 users, load average: 1.78, 1.35, 1.25 tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie cpu(s): 1.5%us, 1.3%sy, 0.0%ni, 95.7%id, 1.5%wa, 0.0%hi, 0.0%si, 0.0%st mem: 23651m total, 23466m used, 184m free, 402m buffers swap: 40962m total, 0m used, 40962m free, 17427m cached pid user pr ni virt res shr s %cpu %mem time+ command 23764 sysomc 20 0 695m 467m 12m s 16 2.0 58:53.41 java
then, run java proccess in jre 1.7.25,the top command show memory usage like:
top - 10:40:26 15 days, 31 min, 1 user, load average: 0.77, 0.89, 0.87 tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie cpu(s): 1.5%us, 1.3%sy, 0.0%ni, 95.5%id, 1.6%wa, 0.0%hi, 0.0%si, 0.0%st mem: 23651m total, 19892m used, 3758m free, 1651m buffers swap: 40962m total, 0m used, 40962m free, 12055m cached pid user pr ni virt res shr s %cpu %mem time+ command 27282 sysomc 20 0 1100m 896m 13m s 2 3.8 1:34.51 java
the problem that,why java proccess's resident memory , virtual memory usage different between jre 1.6.43 , jre 1.7.25
Comments
Post a Comment