FasterXML/jackson-core

How to change default RecyclerPool for 2.17.0 ?

artemus717 opened this issue · 5 comments

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

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.

relates to #1256

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.

did 2.17.1 not use lock free pool as default ?

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.

did 2.17.1 not use lock free pool as default ?

please read #1256

OK I changed to 2.17.1 in my OpenSearch cluster to see if it's OK.

Thanks