Hey,

On 27 Mar 2007, at 23:39, Stefano Bagnara wrote:

SeaGizmo ha scritto:
Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 134217736 bytes for Chunk::new. Out of swap space?
STARTED Phoenix Tue Mar 27 17:08:41 IST 2007


Everytime in Chunk: are you using custom Mailets?

Given your memory numbers and your error I guess you have a memory leak in the JVM code or in a JNI component.


My steps:

1) Check your Mailets (and expecially JNI code you may have)

I don't use any mailets. The only change I have made is a change to the sqlResource.xml for my own user database and added some ClamAV and any spam stuff. Nothing out of the ordinary and all in the docs.


2) Collect hints:
   > jmap -permstat <pid>
[EMAIL PROTECTED] bin]$ ./jmap -permstat 3903
Attaching to process ID 3903, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_10-b03
finding class loader instances ..Unknown oop at 0xabf995c0
Oop's klass is 0x6f4d5168
Unknown oop at 0xac88be60
Oop's klass is 0x717fa518
Unknown oop at 0xac8c1918
Oop's klass is null
Unknown oop at 0xac8c31c8
Oop's klass is null
Unknown oop at 0xac963618
Oop's klass is null
done.
computing per loader stat ..done.
please wait.. computing livenessLivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal LivenessAnalysis: WARNING: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp during traversal ..LivenessAnalysis: WARNING: java.lang.NullPointerException during traversal
done.
class_loader    classes bytes   parent_loader   alive?  type

<bootstrap>     1073    2502544   null          live    <internal>
0x71bafe28 1 864 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718069f8 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x717e4ff8 29 139656 0x717e7e80 live sun/misc/ [EMAIL PROTECTED] 0x71807c98 1 1408 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718079a0 1 872 null dead sun/reflect/ [EMAIL PROTECTED] 0x717e72f8 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71807e60 1 872 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718066c0 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807b68 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718063c8 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71bafcf8 1 1424 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807c00 1 1408 0x717e7e80 dead sun/reflect/ [EMAIL PROTECTED] 0x71807f18 1 872 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807a38 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71bafbc8 1 872 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71890db0 0 0 0x717e4ff8 live java/net/ [EMAIL PROTECTED] 0x717fbac8 687 1659112 0x717e4ff8 live org/apache/ avalon/phoenix/components/classloader/[EMAIL PROTECTED] 0x717fb988 1 1408 null dead sun/reflect/ [EMAIL PROTECTED] 0x718076a8 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71804398 1 1408 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807d30 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718064f8 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71806cf0 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x717e7e80 936 2066096 null live sun/misc/ [EMAIL PROTECTED] 0x71bb9438 1 1408 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71806590 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71806c58 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71803d68 1 880 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71806830 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71806330 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807588 1 864 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718074f0 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71806960 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71806bc0 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71806628 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71bafd90 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x717fba20 1 1408 0x717e7e80 dead sun/reflect/ [EMAIL PROTECTED] 0x71806b28 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71bafb30 1 872 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71806460 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x717fb8f0 1 1408 null dead sun/reflect/ [EMAIL PROTECTED] 0x71807dc8 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71bafa98 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807870 1 1416 0x717e7e80 dead sun/reflect/ [EMAIL PROTECTED] 0x71803cd0 1 872 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71807740 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71804300 1 872 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71806798 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71807ad0 1 1408 null dead sun/reflect/ [EMAIL PROTECTED] 0x718068c8 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71807908 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71bafc60 1 1432 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x71bafa00 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED] 0x718077d8 1 1416 null dead sun/reflect/ [EMAIL PROTECTED] 0x71806a90 1 1416 0x717fbac8 dead sun/reflect/ [EMAIL PROTECTED]

total = 56 2776 6434136 N/A alive=5, dead=51 N/A


   > jstat -class <pid>

[EMAIL PROTECTED] bin]$ ./jstat -class 3903
Loaded  Bytes  Unloaded  Bytes     Time
  2325  2429.8        0     0.0       0.52


> jstat -options (maybe run all of them and paste... don't know if there is anything useful, but it should be easy to do).

[EMAIL PROTECTED] bin]$ ./jstat -compiler 3903
Compiled Failed Invalid   Time   FailedType FailedMethod
     337      0       0     6.32          0

[EMAIL PROTECTED] bin]$ ./jstat -gc 3903
S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT 6528.0 6208.0 0.0 64.0 42624.0 39028.8 466048.0 6377.6 16384.0 10618.0 9 0.128 0 0.000 0.128

[EMAIL PROTECTED] bin]$ ./jstat -gccapacity 3903
NGCMN NGCMX NGC S0C S1C EC OGCMN OGCMX OGC OC PGCMN PGCMX PGC PC YGC FGC 58240.0 116480.0 55680.0 6528.0 6208.0 42624.0 466048.0 932096.0 466048.0 466048.0 16384.0 65536.0 16384.0 16384.0 9 0

[EMAIL PROTECTED] bin]$ ./jstat -gccause 3903
S0 S1 E O P YGC YGCT FGC FGCT GCT LGCC GCC 0.00 1.03 91.57 1.37 64.81 9 0.128 0 0.000 0.128 unknown GCCause No GC

[EMAIL PROTECTED] bin]$ ./jstat -gcnew 3903
S0C    S1C    S0U    S1U   TT MTT  DSS      EC       EU     YGC     YGCT
6528.0 6208.0 0.0 64.0 2 15 6528.0 42624.0 39189.0 9 0.128

[EMAIL PROTECTED] bin]$ ./jstat -gcnewcapacity 3903
NGCMN NGCMX NGC S0CMX S0C S1CMX S1C ECMX EC YGC FGC 58240.0 116480.0 55680.0 6528.0 38784.0 38784.0 6208.0 116352.0 42624.0 9 0

[EMAIL PROTECTED] bin]$ ./jstat -gcold 3903
   PC       PU        OC          OU       YGC    FGC    FGCT     GCT
16384.0  10618.0    466048.0      6377.6      9     0    0.000    0.128

[EMAIL PROTECTED] bin]$ ./jstat -gcoldcapacity 3903
OGCMN OGCMX OGC OC YGC FGC FGCT GCT 466048.0 932096.0 466048.0 466048.0 9 0 0.000 0.128

[EMAIL PROTECTED] bin]$ ./jstat -gcpermcapacity 3903
  PGCMN      PGCMX       PGC         PC      YGC   FGC    FGCT     GCT
16384.0 65536.0 16384.0 16384.0 9 0 0.000 0.128

[EMAIL PROTECTED] bin]$ ./jstat -gcutil 3903
  S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT
0.00 1.03 92.32 1.37 64.81 9 0.128 0 0.000 0.128

[EMAIL PROTECTED] bin]$ ./jstat -printcompilation 3903
Compiled  Size  Type Method
     337    790    1 java/io/ObjectStreamClass lookup



3) Upgrade jvm to 1.5.0_11

I am going to upgrade to version 1.5.0_11 now and see how I get on.

4) Downgrade jvm to 1.4.2_13

I'll try this if the problem still exists.


Stefano

Thanks folks,

SG


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to