Home > Back-end >  Java memory recovery
Java memory recovery

Time:09-16

The same jar package, the same Java environment, I built in the local ubuntu16 run Java virtual machine will automatically release the memory in memory reaches a certain degree, but ali cloud deployment, more and more service footprint will not automatically release! Does anyone know what is going on?

CodePudding user response:

Set the JVM parameter?
If not set, the memory size on both sides of the same?
Not set the JVM parameter for Java8, general heap memory of initial capacity for 1/64 of the physical memory size, maximum memory no more than a quarter of physical memory or 1 g
Compare the pile is small

CodePudding user response:

https://www.cnblogs.com/manmanrenshenglu/p/10516313.html
We can see here,
  • Related