Home > Back-end >  The same JAVA program in different LINUX servers running memory vary widely
The same JAVA program in different LINUX servers running memory vary widely

Time:11-17

The old server: centos6.5
The new server: centos7.2

Consult everybody, have not encountered this kind of circumstance:
Exactly the same JAVA program, the same JDK version, environment variable configuration, run on a different server, new server almost 1 gb memory, and the more the longer run of memory; The old server memory stabilized at about 300 m, how long the running change is not large,
This is why, for the great god give advice or comments

CodePudding user response:

Virtual machine takes the total space size and maximum of virtual machine each area is the same

CodePudding user response:

I also met, migration service, the same program, at the end of the new server memory footprint doubled, I don't know your problem solved? Can you show me a minute

CodePudding user response:

Me too, now the first service launched, the second stage is to quote the Error occurred during initialization of the VM
Could not reserve enough space for the object heap
Clearly free memory also many
  • Related