Azure / Azure/azure-service-bus-java

Memory Leak

Open
#413 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
62
Forks
63
PR merge metrics
No merged PRs in 30d

Description

## Actual Behavior
1. OutOfMemoryError

Memory leak is caused by some of internal error handlers because java.lang.StackTraceElement and related data structures are using most of the heap. Do you need java heap dump ? It is a huge file.

I suspect SDK error handler because my handler is trivial and I am using logging library in many other applications:
````java
.processError(context -> {
log.error(context.getFullyQualifiedNamespace(), context.getException());
})
````

## Expected Behavior
1. No memory leaks

## Versions
- OS platform and version: macOS Big Sur 11.2.3
- Java version "11.0.3" 2019-04-16 LTS
- Java(TM) SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
- Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.3+12-LTS, mixed mode)
- Maven package version or commit ID: com.azure:azure-messaging-servicebus:7.0.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.