技术文章 - CS367754
无法启动/重新启动 ThingWorx Tomcat 服务
已修改: 26-Oct-2023
适用于
- ThingWorx Platform 9.3 to 9.4
说明
- 执行启动失败并出现以下错误
错误1067:进程意外终止。
- 控制面板 > 管理工具 > 服务允许成功停止和启动 Tomcat 服务
- 执行重新启动选项失败
error 1067: The process terminated unexpectedly.
- 在 Tomcat 文件夹中创建 hs_err_pid 文件并出现错误
# There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 21474836480 bytes for Failed to commit area from 0x0000000300000000 to 0x0000000800000000 of length 21474836480. # Possible reasons: # The system is out of physical RAM or swap space # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap # Possible solutions: # Reduce memory load on the system # Increase physical memory or swap space # Check if swap backing store is full # Decrease Java heap size (-Xmx/-Xms) # Decrease number of Java threads # Decrease Java thread stack sizes (-Xss) # Set larger code cache with -XX:ReservedCodeCacheSize= # This output file may be truncated or incomplete. # # Out of Memory Error (./src/hotspot/os/windows/os_windows.cpp:3387), pid=1856, tid=7592 # # JRE version: (11.0.14.1+10) (build )
- 仅当设置较大的 Xms/Xmx 时才会出现重新启动失败问题
- 环境
- 视窗2019
- 内存:32GB
- Tomcat 配置为 Xms=Xmx=20Gb
- 分页文件:4Gb
- 如果 Xms=Xmx=16Gb,则不会出现问题
这是文章 367754 的 PDF 版本,可能已过期。最新版本 CS367754