Method for effectively reducing JVM (Java Virtual Machine) memory based on containerized deployment
The invention discloses a method for effectively reducing a JVM (Java Virtual Machine) based on containerized deployment, which comprises the following steps of: S1, setting the maximum value of the utilization rate of the JVM, and triggering a garbage collection action when the maximum value of the...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method for effectively reducing a JVM (Java Virtual Machine) based on containerized deployment, which comprises the following steps of: S1, setting the maximum value of the utilization rate of the JVM, and triggering a garbage collection action when the maximum value of the utilization rate of the JVM is reached; s2, the maximum value of the vacancy rate of the JVM is set, when the maximum value of the vacancy rate of the JVM is reached, the JVM garbage recoverer recovers objects which are not quoted any more, and unused memories are returned to the operating system; s3, the maximum pause time allowed when the JVM garbage collector executes the garbage collection action is set, and the consumed time of the whole garbage collection process is controlled; and S4, starting a G1 garbage collector of the JVM, and dynamically collecting the JVM memory on the premise of not influencing the application performance. Through the method for effectively reducing the JVM memory based on container |
---|