There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (malloc) failed to allocate xxxxx bytes for committing reserved memory.
Possible reasons:
- The system is out of physical RAM or swap space
- In 32 bit mode, the process size limit was hit
Possible solutions:
- Reduce memory load on the system
- Increase physical memory or swap space
- Check if swap backing store is full
- Use 64 bit Java on a 64 bit OS
- Decrease Java heap size (-Xmx/-Xms)
- Decrease number of Java threads
- Decrease Java thread stack sizes (-Xss)
- Set larger code cache with -XX:ReservedCodeCacheSize=
If you are on Java 8 or later, please also see this question: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…