Skip to Main Content

Unaccounted for Memory is too big and lead to Native Memory Issuse.

932745Apr 24 2012
In our server, after running 1 month, Unaccounted memory will increase up to 500m or higher. And the native memory will be big. So it lead to OOM. Below are one sample:
j2eeapp:jhf1wl101:root > jrcmd 27398 print_memusage
27398:
[JRockit] memtrace is collecting data...
[JRockit] *** 19th memory utilization report
(all numbers are in kbytes)
Total mapped ;;;;;;;5100644
; Total in-use ;;;;;;4038952
;; executable ;;;;; 75968
;;; java code ;;;; 23680; 31.2%
;;;; used ;;; 21833; 92.2%
;; shared modules (exec+ro+rw) ;;;;; 4858
;; guards ;;;;; 5928
;; readonly ;;;;; 0
;; rw-memory ;;;;;3986664
;;; Java-heap ;;;;3145728; 78.9%
;;; Stacks ;;;; 126050; 3.2%
;;; Native-memory ;;;; 714885; 17.9%
;;;; java-heap-overhead ;;; 99596
;;;; codegen memory ;;; 1088
;;;; classes ;;; 166656; 23.3%
;;;;; method bytecode ;; 13743
;;;;; method structs ;; 21987 (#281446)
;;;;; constantpool ;; 72105
;;;;; classblock ;; 7711
;;;;; class ;; 11900 (#21166)
;;;;; other classdata ;; 22950
;;;;; overhead ;; 114
;;;; threads ;;; 960; 0.1%
;;;; malloc:ed memory ;;; 81024; 11.3%
;;;;; codeinfo ;; 4815
;;;;; codeinfotrees ;; 2614
;;;;; exceptiontables ;; 1790
;;;;; metainfo/livemaptable ;; 24519
;;;;; codeblock structs ;; 20
;;;;; constants ;; 33
;;;;; livemap global tables ;; 8684
;;;;; callprof cache ;; 0
;;;;; paraminfo ;; 255 (#2929)
;;;;; strings ;; 24040 (#345745)
;;;;; strings(jstring) ;; 0
;;;;; typegraph ;; 10132
;;;;; interface implementor list ;; 260
;;;;; thread contexts ;; 598
;;;;; jar/zip memory ;; 12204
;;;;; native handle memory ;; 486
;;;; unaccounted for memory ;;; 366520; 51.3%;4.52
---------------------!!!
Post Details
Locked due to inactivity on May 22 2012
Added on Apr 24 2012
0 comments
144 views