Hi Kenneth,

A while ago I ran into the same problem. I specified a larger heap size
like what you did and it helped. I can't think of a way you could control
how Tomcat uses memory, but I suppose you should increase your heap size
even further. At its worst, you'd just notice that your java process goes
into swapping rather than just using the RAM.

Have you tried a higher heap-size?

> Hi,
>
> I have an application running on Tomcat 4.1.24 with JapserReport 0.5.0.
> When
> I try to print JasperReport with large amount of data, there is a
> OutofMemoryError there. The tomcat will then shutdown unexpectedly.
>
> I search on google and set java -Xms256m -Xmx512m, but it doesn't help.
>
> I find it difficult to change to report design to limit the search result.
>
> Is there any setting I can control Tomcat's memory usage or restart tomcat
> programmically when it is shut down?
>
> Thanks in advance.
>
> Kenneth
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
Kok Wei, Koh <[EMAIL PROTECTED]>
iMocha Consulting - the Internet people
(M) +60(12) 3022956
(O) +60(3) 21688424
(F) +60(3) 21688343

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

Reply via email to