You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by balaraju mandala <ba...@gmail.com> on 2007/04/01 16:51:26 UTC

getting Heap Exception

Hi All,

I am Bala Raju, I have a problem with Tomcat, please i need u r suggestion.

I wrote a page in JSP, which will extract data from Database and generate a
report in Excel sheet. Some times the Excel sheet report can be up to 2 MB,
it is taking longer process to create Excel sheet and some times only half
data is added to report. I am also observing that the following exception
are in Tomcat loggers.

Mar 29, 2007 9:14:14 AM
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessorprocessChildren
SEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: Java heap space


please suggest me some measures to create report faster and avoid these
exceptions.

Re: getting Heap Exception

Posted by Rashmi Rubdi <ra...@gmail.com>.
Some solutions are already suggested here for the error:
http://tomcat.apache.org/faq/memory.html

- Are you using Connection Pooling?
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html

- Paging?
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html

-Rashmi

On 4/1/07, balaraju mandala <ba...@gmail.com> wrote:
> SEVERE: Exception invoking periodic operation:
> java.lang.OutOfMemoryError: Java heap space
>
>
> please suggest me some measures to create report faster and avoid these
> exceptions.
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org