Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 62768 invoked from network); 10 Jul 2006 07:52:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2006 07:52:50 -0000 Received: (qmail 43060 invoked by uid 500); 10 Jul 2006 07:52:44 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 43009 invoked by uid 500); 10 Jul 2006 07:52:44 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 42998 invoked by uid 99); 10 Jul 2006 07:52:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 00:52:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [85.197.127.214] (HELO mail.c-ware.de) (85.197.127.214) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 00:52:41 -0700 Received: (qmail 23078 invoked from network); 10 Jul 2006 06:43:33 -0000 Received: from unknown (HELO TIESTO) (213.157.13.82) by 0 with SMTP; 10 Jul 2006 06:43:33 -0000 From: "Christofer Dutz" To: , "'Oleg Konovalov'" Subject: AW: OutOfMemoryError Date: Mon, 10 Jul 2006 09:50:27 +0200 Message-ID: <000101c6a3f5$8261cb80$0e42a8c0@univativ.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01C6A406.45EA9B80" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcahxR1e30zDboMlRmeC8ZunzJmzHwCL2X9Q In-Reply-To: <20060707140659.68420.qmail@web34705.mail.mud.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0002_01C6A406.45EA9B80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Oleg, =20 we encountered similar problems and fortunately found our that these problems were VM related. I assume you are using a standard Sun JDK installation (This was the case with our system). When looking at the VM memory consumption, we could see an increasing memory consumption. = Whenever we manually triggered a =93big garbage-collection=94 most of this was = freed again. The problem is that the default Garbage Collection Settings seem = to have problems with circular references. Memory, which is not accessible, = is not freed because of this. We could have solved this by tweaking the GC settings of the VM, but we got rid of the problems by using the BEA = Jrockit VM instead (I knew this would work and I didn=92t want to dig into all = the switches an leavers of the sun GC)=20 =20 Hope this helps. =20 Regards, Christofer =20 [ c h r i s t o f e r d u t z ] =20 IT-Berater univativ GmbH & Co. KG Robert-Bosch-Str. 7, 64293 Darmstadt =20 fon: 0 61 51 / 66 717 - 21 fax: 0 61 51 / 66 717 - 29 email: christofer.dutz@univativ.de http://www.univativ.de =20 Darmstadt, Stuttgart, Karlsruhe, D=FCsseldorf =20 =20 _____ =20 Von: Oleg Konovalov [mailto:olegkon@yahoo.com]=20 Gesendet: Freitag, 7. Juli 2006 16:07 An: cocoon list Betreff: OutOfMemoryError =20 Hi, We are getting OutOfMemoryError=20 16:26:41,011 ERROR [STDERR] java.lang.OutOfMemoryError in our production server (which has 4GB of RAM, javaVM - max 2GB) every other day. All applications stop responding. We have a bunch of Cocoon applications [mostly 2.0.4] running on = JBoss3.0.7. It is totally unclear which application is causing the problem. I don't remember that problem happening in our Development or Testing environment (where max JavaVM=3D512MB), but I guess it has a much lighter load. Is there any known memory problem with Cocoon ? Is there a way to do memory profiling of Cocoon Apps ? Any particular = tool ? (I have done memory profiling of Java applets with JProbe years ago) =20 Any advice is very appreciated. Thank you in advance, Oleg. =20 ------=_NextPart_000_0002_01C6A406.45EA9B80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi Oleg,

 

we encountered similar problems and = fortunately found our that these problems were VM related. I assume you are using a = standard Sun JDK installation (This was the case with our system). When looking at = the VM memory consumption, we could see an increasing memory consumption. Whenever we manually triggered a “big garbage-collection” most of this = was freed again. The problem is that the default Garbage Collection Settings = seem to have problems with circular references. Memory, which is not = accessible, is not freed because of this. We could have solved this by tweaking the GC settings of the VM, but we got rid of the problems by using the BEA = Jrockit VM instead (I knew this would work and I didn’t want to dig into all = the switches an leavers of the sun GC)

 

Hope this helps.

 

Regards,

       &nbs= p;    Christofer

 

[ c h r i s t o f e r   d u t z = ]

 

IT-Berater

univativ GmbH & Co. = KG

Robert-Bosch-Str. 7, 64293 = Darmstadt

 

fon: 0 61 51 / 66 717 - 21

fax: 0 61 51 / 66 717 - = 29

email: = christofer.dutz@univativ.de

http://www.univativ.de

 

Darmstadt, Stuttgart, Karlsruhe, = D=FCsseldorf

 

 


Von: Oleg = Konovalov [mailto:olegkon@yahoo.com]
Gesendet: Freitag, 7. = Juli 2006 16:07
An: cocoon list
Betreff: = OutOfMemoryError

 

Hi,

We are getting OutOfMemoryError
16:26:41,011 ERROR [STDERR] java.lang.OutOfMemoryError
in our production server (which has 4GB of RAM, javaVM - max 2GB)
every other day. All applications stop responding.
We have a bunch of Cocoon applications [mostly 2.0.4] running on = JBoss3.0.7.
It is totally unclear which application is causing the problem.

I don't remember that problem happening in our Development or Testing environment
(where max JavaVM=3D512MB), but I guess it has a much lighter load.

Is there any known memory problem with Cocoon ?

Is there a way to do memory profiling of Cocoon Apps ? Any particular = tool ?
(I have done memory profiling of Java applets with JProbe years = ago)

 
Any advice is very appreciated.

Thank you in advance,
 Oleg.

 

------=_NextPart_000_0002_01C6A406.45EA9B80--