How to change default RecyclerPool for 2.17.0 ?
artemus717 opened this issue · 5 comments
artemus717 commented
Maybe there are some memory leak issue with 2.17.0. We are running OpenSearch 2.14.0 which use jackson-core 2.17.0.
I want to try change default RecyclerPool to see if jvm heap will back to normal.
Thanks
plokhotnyuk commented
You can add .recyclerPool(JsonRecyclerPools.threadLocalPool())
when building JsonFactory
like here, but a better option is upgrading jackson-core
to 2.17.1
or above.
artemus717 commented
You can add
.recyclerPool(JsonRecyclerPools.threadLocalPool())
when buildingJsonFactory
like here, but a better option is upgradingjackson-core
to2.17.1
or above.
did 2.17.1 not use lock free pool as default ?
pjfanning commented
artemus717 commented
OK I changed to 2.17.1 in my OpenSearch cluster to see if it's OK.
Thanks