You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luca Morandini <lu...@tin.it> on 2002/03/30 11:02:28 UTC
OutOfMemoryError compiling sitemap with Cocoon 2.0.2 #2
Folks,
I forgot to add my configuration:
- Windows 2000 Professional SP2
- Sun JDK 1.3.1
- Tomcat 4.0.1
- Cocoon 2.0.2
---------------------------------------------
Luca Morandini
GIS Consultant
lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------
> -----Original Message-----
> From: Luca Morandini [mailto:luca.morandini1@tin.it]
> Sent: Saturday, March 30, 2002 11:01 AM
> To: Cocoon-users
> Subject: OutOfMemoryError compiling sitemap with Cocoon 2.0.2
>
>
> Folks,
>
> I've upgraded from 2.0 to 2.0.2, and it all went smoothly, but...
>
> Cocoon gives me:
>
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.OutOfMemoryError
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> at java.lang.Thread.run(Unknown Source)
> java.lang.OutOfMemoryError
> <>
>
> When I try to compile a specific sub-sitemap (which worked
> perfectly with Cocoon 2.0)... I'am confused, to say the least, any clue ?
>
> BTW, it's not just a matter of memory size: after the compilation
> starts, memory goes up slowly, but, all of a sudden, it goes
> ballistic touching 96MB and aborting.
>
> Thanks in advance,
>
> ---------------------------------------------
> Luca Morandini
> GIS Consultant
> lmorandini@ieee.org
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: OutOfMemoryError compiling sitemap with Cocoon 2.0.2 #2
Posted by Luca Morandini <lu...@tin.it>.
Vadim.
it's not a single portion of sub-sitemap which cause the error.
I did a bit of testing and it went like this:
1) I removed the most of the sub-sitemap contents
2) I compiled it... just fine
3) I re-inserted a bit of the old sub-sitemap
4) I compiled it... just fine
(I repeated step 3 and 4 numerous time)
5) The error appeared !
6) I re-started Tomcat
7) I tried to compile the sub-sitemap again... just fine
(I repeated step 5, 6 and 7 a few times)
8) I finally gave up :(
At the end of the day, it seems an error in the compiler that is not related
to a portion of the sub-sitemap.
BTW, I'm using pizza compiler (not that switching to javac helped :( ), and
the scratchpad configuration.
Best regards,
---------------------------------------------
Luca Morandini
GIS Consultant
lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------
> -----Original Message-----
> From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Sent: Saturday, March 30, 2002 5:59 PM
> To: cocoon-users@xml.apache.org; lmorandini@ieee.org
> Subject: RE: OutOfMemoryError compiling sitemap with Cocoon 2.0.2 #2
>
>
> What is the sub-sitemap in question? Can you isolate the part of the
> sub-sitemap which is responsible for that?
>
> Vadim
>
> > From: Luca Morandini [mailto:luca.morandini1@tin.it]
> >
> > Folks,
> >
> > I forgot to add my configuration:
> >
> > - Windows 2000 Professional SP2
> > - Sun JDK 1.3.1
> > - Tomcat 4.0.1
> > - Cocoon 2.0.2
> >
> > ---------------------------------------------
> > Luca Morandini
> > GIS Consultant
> > lmorandini@ieee.org
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
> >
> > > -----Original Message-----
> > > From: Luca Morandini [mailto:luca.morandini1@tin.it]
> > > Sent: Saturday, March 30, 2002 11:01 AM
> > > To: Cocoon-users
> > > Subject: OutOfMemoryError compiling sitemap with Cocoon 2.0.2
> > >
> > >
> > > Folks,
> > >
> > > I've upgraded from 2.0 to 2.0.2, and it all went smoothly, but...
> > >
> > > Cocoon gives me:
> > >
> > > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > > java.lang.OutOfMemoryError
> > > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> > > at java.lang.Thread.run(Unknown Source)
> > > java.lang.OutOfMemoryError
> > > <>
> > >
> > > When I try to compile a specific sub-sitemap (which worked
> > > perfectly with Cocoon 2.0)... I'am confused, to say the least, any
> clue ?
> > >
> > > BTW, it's not just a matter of memory size: after the compilation
> > > starts, memory goes up slowly, but, all of a sudden, it goes
> > > ballistic touching 96MB and aborting.
> > >
> > > Thanks in advance,
> > >
> > > ---------------------------------------------
> > > Luca Morandini
> > > GIS Consultant
> > > lmorandini@ieee.org
> > > http://utenti.tripod.it/lmorandini/index.html
> > > ---------------------------------------------
> > >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: OutOfMemoryError compiling sitemap with Cocoon 2.0.2 #2
Posted by Vadim Gritsenko <va...@verizon.net>.
What is the sub-sitemap in question? Can you isolate the part of the
sub-sitemap which is responsible for that?
Vadim
> From: Luca Morandini [mailto:luca.morandini1@tin.it]
>
> Folks,
>
> I forgot to add my configuration:
>
> - Windows 2000 Professional SP2
> - Sun JDK 1.3.1
> - Tomcat 4.0.1
> - Cocoon 2.0.2
>
> ---------------------------------------------
> Luca Morandini
> GIS Consultant
> lmorandini@ieee.org
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
>
> > -----Original Message-----
> > From: Luca Morandini [mailto:luca.morandini1@tin.it]
> > Sent: Saturday, March 30, 2002 11:01 AM
> > To: Cocoon-users
> > Subject: OutOfMemoryError compiling sitemap with Cocoon 2.0.2
> >
> >
> > Folks,
> >
> > I've upgraded from 2.0 to 2.0.2, and it all went smoothly, but...
> >
> > Cocoon gives me:
> >
> > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > java.lang.OutOfMemoryError
> > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> > at java.lang.Thread.run(Unknown Source)
> > java.lang.OutOfMemoryError
> > <>
> >
> > When I try to compile a specific sub-sitemap (which worked
> > perfectly with Cocoon 2.0)... I'am confused, to say the least, any
clue ?
> >
> > BTW, it's not just a matter of memory size: after the compilation
> > starts, memory goes up slowly, but, all of a sudden, it goes
> > ballistic touching 96MB and aborting.
> >
> > Thanks in advance,
> >
> > ---------------------------------------------
> > Luca Morandini
> > GIS Consultant
> > lmorandini@ieee.org
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>