突然間,我開始從集成測試用例中收到錯誤。使用Java 8,所以我添加了MAVEN_OPTS = -Xmx512m
。但它沒有奏效。我在這裏錯過了什麼,如何修復它?它可以在本地機器上正常工作。Jenkins:內存不足問題
SUREFIRE-859: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c9800000, 54001664, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 54001664 bytes for committing reserved memory.
# An error report file with more information is saved as:
該選項實際上是'-Xmx512m',是不是缺少'-'? –
'''在那裏。這是一個錯字。讓我解決它。 –