You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Gaojinchao <ga...@huawei.com> on 2011/11/30 04:01:30 UTC

Suspected memory leak

In HBaseClient proceess, I found heap has been increased.
I used command 'cat smaps' to get the heap size.
It seems in case when the threads pool in HTable has released the no using thread, if you use putlist api to put data again, the memory is increased.
Who has experience in this case?

Below is the heap of Hbase client:
C3S31:/proc/18769 # cat smaps
4010a000-4709d000 rwxp 00000000 00:00 0                                  [heap]
Size:             114252 kB
Rss:              114044 kB
Pss:              114044 kB

4010a000-4709d000 rwxp 00000000 00:00 0                                  [heap]
Size:             114252 kB
Rss:              114044 kB
Pss:              114044 kB

4010a000-48374000 rwxp 00000000 00:00 0                                  [heap]
Size:             133544 kB
Rss:              133336 kB
Pss:              133336 kB

4010a000-49f20000 rwxp 00000000 00:00 0                                  [heap]
Size:             161880 kB
Rss:              161672 kB
Pss:              161672 kB

4010a000-4c5de000 rwxp 00000000 00:00 0                                  [heap]
Size:             201552 kB
Rss:              201344 kB
Pss:              201344 kB