Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventBusAppender instance pollution in Java Heap Space #529

Closed
mcweba opened this issue Nov 21, 2023 · 1 comment
Closed

EventBusAppender instance pollution in Java Heap Space #529

mcweba opened this issue Nov 21, 2023 · 1 comment
Assignees

Comments

@mcweba
Copy link
Collaborator

mcweba commented Nov 21, 2023

With the introduction of Vert.x 4x and/or Log4j2 we observed a memory leak with heavy EventBusAppender usage. The implementation of LoggingHandler creates a new instance of the EventBusAppender for every request to be logged.
These instances somehow stay in the heap and grow over time.

To prevent this, the EventBusAppender instance should be reused for multiple requests.

@mcweba mcweba self-assigned this Nov 21, 2023
mcweba added a commit that referenced this issue Nov 22, 2023
#529 EventBusAppender instance pollution in Java Heap Space
@mcweba
Copy link
Collaborator Author

mcweba commented Apr 19, 2024

Released in v2.0.3

@mcweba mcweba closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant