https://issues.apache.org/bugzilla/show_bug.cgi?id=51124

--- Comment #4 from Mark Thomas <ma...@apache.org> 2011-05-04 19:53:39 UTC ---
Hmm. Looking at case 2 above, I don't see any way for that to happen unless
bufferSize > cb.length. As far as I can see, these are always changed in sync.
That leads me to think that there is an OOME that is being missed for some
reason.

While I agree 100% with Rainer that once an OOME occurs, all bets are off, I
think that having this patch in 7.0.x will at least allow us to determine if
the root cause is an OOME or something else.

I have applied a variation of the patch suggested in comment 2 to Tomcat 7.0.x
which will be included in 7.0.13 onwards. The patch won't get back-ported to
6.0.x until there is some evidence that it useful. Please test your application
with 7.0.13 once released. and let us know how you get on.

If an upgrade to 7.0.13 is not possible, we could provide a binary patch for
6.0.32 *purely for testing purposes*. Let us know if you want to go that route.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to