ews-java-api icon indicating copy to clipboard operation
ews-java-api copied to clipboard

Memory leak in org.apache.commons.httpclient.auth.AuthPolicy

Open bah7303 opened this issue 11 years ago • 2 comments

I have a process that uses an executor service to loop over several thousand mailboxes and search for and process Exchange items using vanilla EWS API 1.2. There appears to be a memory leak where org.apache.commons.httpclient.auth.AuthPolicy has an arraylist holds a java.lang.String for every time that the ExchangeService uses ntlm to connect to the Exchange server. I can see these strings build up over time when I acquire the heap dump through I don't have any direct or global references to these objects and there does not seem to be any way to rid my process of them and get them collected. Any suggestions would be appreciated.

bah7303 avatar Jul 06 '15 16:07 bah7303

does the reported behavior also come along with version 2.0?

serious6 avatar Jul 12 '15 13:07 serious6

Don't know. Will need to try it out. Still using vanilla java ews 1.2

Thanks, Burke

Sent from my iPhone

On Jul 12, 2015, at 6:12 AM, André Behrens <[email protected]mailto:[email protected]> wrote:

does the reported behavior also come along with version 2.0?

— Reply to this email directly or view it on GitHubhttps://github.com/OfficeDev/ews-java-api/issues/362#issuecomment-120720260.

This message may contain information that is confidential or privileged. If you are not the intended recipient, please advise the sender immediately and delete this message. See http://www.blackrock.com/corporate/en-us/compliance/email-disclaimers for further information. Please refer to http://www.blackrock.com/corporate/en-us/compliance/privacy-policy for more information about BlackRock’s Privacy Policy.

For a list of BlackRock's office addresses worldwide, see http://www.blackrock.com/corporate/en-us/about-us/contacts-locations.

© 2014 BlackRock, Inc. All rights reserved.

bah7303 avatar Jul 13 '15 00:07 bah7303