That sounds more like an error in the vm.

If there would be a memory leak in tomcat the 
call to the gc() wouldn't free any memory that
is leaking.
Others have noticed that with some vm's the 
contract 'Before throwing an OutOfMemoryException 
free any released memory' is not fullfilled. It 
looks like the vm needs some memory to run the gc 
and doesn't get it and throws this Exception
without reclaiming the released memory.

> -----Urspr�ngliche Nachricht-----
> Von: Steve Wong [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 28. Januar 2002 05:39
> An: Tomcat Users List
> Betreff: RE: Allocated Heap Size Continuously Increase
<snip/>
> <html>
> </html>
>       The allocated heap size continuously increase.
> 
>       Change a.jsp to:
> <html>
> <% java.lang.Runtime.getRuntime().gc() %>
> </html>
>       The allocated heap size remains unchanged.
> 
<snip/>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to