[ 
https://issues.apache.org/jira/browse/HBASE-22929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916535#comment-16916535
 ] 

Yechao Chen commented on HBASE-22929:
-------------------------------------

chunkIdMap add entries may happened in  here

[createChunk method 
|https://github.com/apache/hbase/blob/rel/2.1.2/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ChunkCreator.java#L268]

but the code has checked the maxCount before createChunk
[createChunkForPool| 
https://github.com/apache/hbase/blob/rel/2.1.2/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ChunkCreator.java#L379]

[MemStoreChunkPool 
init|https://github.com/apache/hbase/blob/rel/2.1.2/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ChunkCreator.java#L344]






> MemStoreLAB  ChunkCreator may memory leak
> -----------------------------------------
>
>                 Key: HBASE-22929
>                 URL: https://issues.apache.org/jira/browse/HBASE-22929
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>            Reporter: Yechao Chen
>            Priority: Major
>         Attachments: hbase-site.xml, hbase_heap_monitor.png, 
> hbase_rs_heap_dump_mat_1.png, 
> hbase_rs_heap_dump_mat_ChunkCreator_chunkIdMap.png, hbase_rs_mem_used.png
>
>
> We use hbase 2.1.2 with memstorelab enable
> RegionServer crashed case of oom 
> I dump the heap ,found the ChunkCreator may be memory leak
> The heap is 32GB, 
> hbase.regionserver.global.memstore.size=0.4,
> hbase.hregion.memstore.mslab.enabled=true
> hbase.hregion.memstore.chunkpool.initialsize=0.5,
> hbase.hregion.memstore.chunkpool.maxsize=1.0



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to