Error report: the Tomcat program in the production environment of the application system reports an error: caused by: java.lang.outofmemoryerror: Java heap space
Solution: after communicating with relevant developers, adjust the size of XMS and Xmx of the JVM, and optimize relevant Java program code at the same time.
The relevant parameters after adjusting the JVM in the test environment are as follows:
Test host memory: 16g
Test application 2: tomcat2
– xms4000m – xmx4000m – xmn1500m – XX: maxpermsize = 800m
test application 3: tomcat3
– xms4000m – xmx4000m – xmn1500m – XX: maxpermsize = 800m
Similar Posts:
- eclipse.ini/myeclipse.ini -Xms,-Xmx,-PerSize
- Tomcat java.lang.OutOfMemoryError: PermGen space
- tomcat PermGen space
- Java.lang.outofmemoryerror: permgen space and its solution in eclipse + Maven environment
- [Solved] CDH6.3.2 Hive on spark Error: is running beyond physical memory limits
- Tomcat Error: Invalid maximum heap size
- How to Solve JAVA Error: “Too small initial heap”
- Tomcat configuration: Memory – Heap and PermGen
- Record a JVM memory overflow java.lang.outofmemoryerror: GC overhead limit exceeded
- Eclipse failed to create the java virtual machine [How to Solve]