私のOSのバージョンはWindows 7 64ビットで、JDKは32ビット版です。JBoss Wrapper Application を正常に起動しましたが、しばらく実行した後、JVM が失敗して再起動しました。
JVM ダンプ ログのメッセージは次のとおりです。
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 543672 bytes for Chunk::new
# 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=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:328), pid=5480, tid=4740
#
# JRE version: 7.0_05-b05
# Java VM: Java HotSpot(TM) Server VM (23.1-b03 mixed mode windows-x86 )
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
コンピューターに 3 つのラッパー アプリケーションをデプロイします。それぞれが最大 JVM ヒープ サイズ 700Mb に設定されています。
この問題を見直すのを手伝ってください。ありがとう。私の質問は次のとおりです。
- 現在の JVM 割り当てサイズを知るにはどうすればよいですか?
- この問題の原因は何ですか?
- どうすれば修正できますか?誰かが私に 64 ビット JDK の使用を勧めました。それは必要ですか?