Skip to content

OutOfMemoryError when API is retrying requests #288

@NilayDhamecha

Description

@NilayDhamecha

Hello!
We recently upgraded to version 1.6.0 and tried using the retry capability of the library.
However when we are facing OutOfMemoryError and the complete process is getting aborted our assumption about why this error is occurring is that since msgraph-sdk-java is using okhttp3 to retry the requests and somehow this retry is spawning a lot of threads because of which we are getting this OutOfMemoryError .
The logs are attached below.
Can someone please confirm if they are facing the same problem?
Also can someone confirm whether this is the problem in the SDK?
OutOfMemoryError.txt
AB#6050

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions