You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@herrhilmi thanks for reporting this, can you please clarify what you mean with the below version has a memory leak in Line 111? (e.g. which version, and can you share the pointer to the line in the file you are referring to?
In fact, I use io.swagger.parser.v3:swagger-parser:2.O.32 in my code. This dependency has a transitive dependency to
io.swagger:swagger-parser:1.0.59 as shown in the line below within pom
swagger-parser/modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/util/RefUtils.java
Line 251 in 50d8cfb
Hi,
In fact, the below version has a memory leak in Line 111. The FileInputStream used to read the spec is never closed.
io.swagger.parser.v3 swagger-parser 2.0.32I think the current code could help solve this, since it's used within try-with-resources block.
Thank you
The text was updated successfully, but these errors were encountered: