Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Newcomer (Easy) - Everyone can do this
Description
JDK1.8+ is recommended in the Community document.
This issue is to switch JVM settings default from MaxPermSize to MaxMetaspaceSize.
Problem discovery
If you use jdk1.8 and setting MaxPermSize, the query will slow down when non-heap memory is not recovered timely. The threshold value is about 1GB. The average query time may change from 500ms to 1000ms, or more.