Run the jar package
Error content: Java hotspot (TM) 64 bit server VI warning: Info: OST; comn it_ memary(Ox10000085800,130023424,0) failed; The ‘eror’ page file is too small to complete the operation. (Dos error 7errno=1455)
Cause: because the memory of the configured JVM is too small or the size is not set
Solution: modify run configurations before packaging in eclipse
Right-click the code and click “run as” -> “Run configurations”, fill in the following values in “VM arguments:” in the arguments parameter.
-Xms64m -Xmx128m
Note: the memory setting can be modified according to the actual situation of the project. If the memory allocation is small, when the applied memory is greater than the set memory (Tomcat maximum memory – Xmx), full GC (STW) will be triggered. When performing full GC, there will be a jam. The memory allocation of each project can be allocated according to the frequency of use of the project