電子書籍の厳選無料作品が豊富!

JavaVMが出力したエラーメッセージが読み取れず、
どのように対策すればよいかわかりません。
ヒープが不足してると言われているのでしょうか?

■エラーファイル内容
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGBUS (0xa) at pc=0xf9902c68, pid=4189, tid=1
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode)
# Problematic frame:
# J org.apache.crimson.tree.AttributeSet.createAttributeSet1(Lorg/xml/sax/Attributes;)Lorg/apache/crimson/tree/AttributeSet;
#

--------------- T H R E A D ---------------

Current thread (0x00036fe8): JavaThread "main" [_thread_in_Java, id=1]

siginfo:si_signo=10, si_errno=0, si_code=1, si_addr=0xffffffff

Registers:
(中略)

Top of Stack: (sp=0xffbedc00)
(中略)

Instructions: (pc=0xf9902c68)
(中略)

Stack: [0xffb70000,0xffbf0000), sp=0xffbedc00, free space=503k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J org.apache.crimson.tree.AttributeSet.createAttributeSet1(Lorg/xml/sax/Attributes;)Lorg/apache/crimson/tree/AttributeSet;
j org.apache.crimson.tree.XmlDocumentBuilder.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V+19
J org.apache.crimson.parser.Parser2.maybeElement(Lorg/apache/crimson/parser/ElementValidator;)Z
J org.apache.crimson.parser.Parser2.content(Lorg/apache/crimson/parser/ElementDecl;ZLorg/apache/crimson/parser/ElementValidator;)V
J org.apache.crimson.parser.Parser2.maybeElement(Lorg/apache/crimson/parser/ElementValidator;)Z
J org.apache.crimson.parser.Parser2.content(Lorg/apache/crimson/parser/ElementDecl;ZLorg/apache/crimson/parser/ElementValidator;)V
J org.apache.crimson.parser.Parser2.maybeElement(Lorg/apache/crimson/parser/ElementValidator;)Z
j org.apache.crimson.parser.Parser2.parseInternal(Lorg/xml/sax/InputSource;)V+112
j org.apache.crimson.parser.Parser2.parse(Lorg/xml/sax/InputSource;)V+6
j org.apache.crimson.parser.XMLReaderImpl.parse(Lorg/xml/sax/InputSource;)V+147
j org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;+59
j org.apache.log4j.xml.DOMConfigurator.doConfigure(Lorg/xml/sax/InputSource;Lorg/apache/log4j/spi/LoggerRepository;)V+137
j org.apache.log4j.xml.DOMConfigurator.doConfigure(Ljava/io/InputStream;Lorg/apache/log4j/spi/LoggerRepository;)V+10
j org.apache.log4j.xml.DOMConfigurator.doConfigure(Ljava/lang/String;Lorg/apache/log4j/spi/LoggerRepository;)V+14
j org.apache.log4j.xml.DOMConfigurator.configure(Ljava/lang/String;)V+11
j (中略)


--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
(中略)

Other Threads:
(中略)

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 2112K, used 929K [0xf1400000, 0xf1620000, 0xf1b10000)
eden space 2048K, 42% used [0xf1400000, 0xf14d85e8, 0xf1600000)
from space 64K, 100% used [0xf1600000, 0xf1610000, 0xf1610000)
to space 64K, 0% used [0xf1610000, 0xf1610000, 0xf1620000)
tenured generation total 1408K, used 747K [0xf1b10000, 0xf1c70000, 0xf5400000)
the space 1408K, 53% used [0xf1b10000, 0xf1bcaff8, 0xf1bcb000, 0xf1c70000)
compacting perm gen total 4352K, used 4176K [0xf5400000, 0xf5840000, 0xf9400000)
the space 4352K, 95% used [0xf5400000, 0xf5814380, 0xf5814400, 0xf5840000)

Dynamic libraries:
(中略)

VM Arguments:
java_command: (中略)

Environment Variables:
JAVA_HOME=/usr/j2se
CLASSPATH=(中略)
PATH=(中略)
LD_LIBRARY_PATH=(中略)
SHELL=/bin/sh


--------------- S Y S T E M ---------------
(中略)
vm_info: Java HotSpot(TM) Client VM (1.4.2_09-b05) for solaris-sparc, built on Jul 25 2005 23:50:28 by unknown with Workshop 5.2 compat=5

A 回答 (1件)

compacting perm gen total 4352K, used 4176K [0xf5400000, 0xf5840000, 0xf9400000)


the space 4352K, 95% used [0xf5400000, 0xf5814380, 0xf5814400, 0xf5840000)
・Permanent領域を増やしてみては?

参考URL:http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.ph …

この回答への補足

文献を確認したところ

Permanent Spaceの初期値 のデフォルトは1M
Permanent Spaceの最大値 のデフォルトは64M

のようです。

また、領域不足になった場合、
Permanent generation is full...
increase MaxPermSize (current capacity is set to: 67108864 bytes )

とエラー表示されるともありました。

もう少し調べてみます・・・。

補足日時:2007/05/15 10:39
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!