PerfCake / PerfRepo

Other
14 stars 15 forks source link

Reduce HQLQueryPlan cache #89

Closed vjuranek closed 6 years ago

vjuranek commented 6 years ago

We hit OOM recently and heap dump was full of various Hibernate internal stuff, mostly related to HQL. It seems most of the stuff is in memory due to Hibernate query plan cache. The default is 2048. It should be reduced to some smaller value. Especially as it has some issues when in statement is used (see e.g. here), which is also perfrepo case.