platelminto / java-bittrex

Java wrapper for the Bittrex API
MIT License
23 stars 18 forks source link

java.lang.ref.finalizer - Possible Memory Leak #4

Open Tris10w opened 7 years ago

Tris10w commented 7 years ago

@platelminto

Have you ran into slow memory leaks over time? I'm noticing that getMarketSummaries calls during small 10 second intervals over many hours result in a build up of java.lang.ref.finalizer.

I believe this to possibly be in the getResponseBody, specifically the BufferedReader is not being closed. I'm going to continue to investigate, but I wanted to raise the issue.

Regards,

platelminto commented 7 years ago

Thanks for the heads up, I'll check it out when I have time - likely over the weekend.