Re: useCompression=true and potential Memory leak due to connection tracking via CompressionInputStreamMemoryLeak
Posted by: Alexander Soklakov
Date: May 13, 2013 10:32AM

Dominic,

Thank you again! You absolutely right that my patch doesn't cover abandoned connections case. I need some time to ensure that WeakReference is safe for all cases or to find another good way, will post then.

Just one note about your test. You can reach "too many connections" situation even without compression and also with WeakReference patch if you create references faster then AbandonedConnectionCleanupThread cleanups them.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.