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

Rollback the change to use lambdas in Config Proxies. #685

Merged

Conversation

rgallardo-netflix
Copy link
Contributor

The use of lambdas to call default methods in Config proxy interfaces surfaced memory leaks in applications that leak configuration proxies.

Because the lambdas live in the JVMs metaspace, which is often configured to a much smaller max size than the heap, the leaking proxies have a much higher chance of causing OOM errors.

We are therefore rolling back this change temporarily, while we investigate a way to re-implement it in a way that reduces the issues.

The use of lambdas to call default methods in Config proxy interfaces surfaced memory leaks in applications that leak configuration proxies.

Because the lambdas live in the JVMs metaspace, which is often configured to a much smaller max size than the heap, the leaking proxies have a much higher chance of causing OOM errors.

We are therefore rolling back this change temporarily, while we investigate a way to re-implement it in a way that reduces the issues.
@rgallardo-netflix rgallardo-netflix merged commit f52ab93 into Netflix:2.x Oct 10, 2023
5 checks passed
@rgallardo-netflix rgallardo-netflix deleted the rollback-lambdas-in-proxies branch October 10, 2023 21:48
rgallardo-netflix added a commit to rgallardo-netflix/archaius that referenced this pull request Oct 11, 2023
…xies

This is a re-factor of the code reverted in PR Netflix#685, originally by @kilink
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

Successfully merging this pull request may close these issues.

None yet

1 participant