内存不足,无法让 Java 运行时环境继续运行 - Ubuntu 16.04.6 LTS - 4.15.0-48-generic

内存不足,无法让 Java 运行时环境继续运行 - Ubuntu 16.04.6 LTS - 4.15.0-48-generic

请让我们知道下一个内核版本何时发布,我们的一台生产机器运行 Ubuntu 16.04.6 LTS,内核为 4.15.0-48-generic 版本,但出现故障。升级内核问题解决后,14 上也出现了同样的问题。

Error:
Error occurred during initialization of VM
Could not create ConcurrentG1RefineThread
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create worker GC thread. Out of system resources.
# An error report file with more information is saved as:
# /build/jenksvc/workspace/product_eng_-keys_Ubuntu16_test/LA.UM.7.2/LINUX/android/log.log

jenksvc@SONIC:/build/jenksvc/workspace$ java -XX:+PrintFlagsFinal -version | grep -iE 'HeapSize|PermSize|ThreadStackSize'
     intx CompilerThreadStackSize                  = 1024                                  {pd product} {default}
   size_t ErgoHeapSizeLimit                        = 0                                        {product} {default}
   size_t HeapSizePerGCThread                      = 87241520                                 {product} {default}
   size_t InitialHeapSize                          = 2147483648                               {product} {ergonomic}
   size_t LargePageHeapSizeThreshold               = 134217728                                {product} {default}
   size_t MaxHeapSize                              = 32178700288                              {product} {ergonomic}
    uintx NonNMethodCodeHeapSize                   = 8766152                               {pd product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 121446044                             {pd product} {ergonomic}
    uintx ProfiledCodeHeapSize                     = 121446044                             {pd product} {ergonomic}
     intx ThreadStackSize                          = 1024                                  {pd product} {default}
     intx VMThreadStackSize                        = 1024                                  {pd product} {default}
openjdk version "9"
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)

相关内容