I forgot to include the size of the XSP!!

It's around 43k, around 1400 lines.

I'll look into the heap sizes.

Peter Schwenke wrote:

> If the size of the XSP isn't that big that it is a design issue you
> might just want to increase the heap size of your JVM.
>
> You can set the min/max heap sizes using parameters such as
>
> -ms128m -mx256m
>
> (depending on your JVM)
>
>                                                         ...Peter
> Steve Switzer writes:
>  > I'm getting the following error when I execute my
>  > xsp:
>  >
>  > 500 Servlet Exception
>  > java.lang.OutOfMemoryError
>  > <<no stack trace available>>
>  >
>  > I'm using Resin 2.0.5 and Cocoon 2.0
>  >
>  > A former co-worker told me, at one time, that my problem
>  > was that my xsp file was too big.  By reducing it's size I used
>  > to be able to get past the out of memory error -- the error was
>  > always intermittent, depending on the data being picked up by
>  > the sql in the xsp.  Well now the error is back, and the users
>  > actually want to start using this xsp!! (They didn't care before.)
>  >
>  > The former co-worker at the time suggested that the real solution
>  > was not to keep reducing the size of the xsp file, but that it was
>  > an architectural issue.
>  >
>  > Any comments or solutions?
>  >
>  > Thanks, Steve Switzer.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > 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: <[EMAIL PROTECTED]>
>  > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to