java 17.0.7 Rss slowly grow with transparent huge page enabled
Recently we switched to java17 and find out that rss is slowly growing (it didn’t grow if thp is disabled). This issue seems strongly related to following issues: THPs cause huge RSS due to thread start timing issue
and Make thread stacks not use huge pages
. But those issues indicate only 2MB stack are prone to high memory usage while our thread stack size is only 1MB (the default on x86).