Skip to content

fix: clear resolver jar entries cache after unpacking stubs jars #2165

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

Open
wants to merge 1 commit into
base: 4.2.x
Choose a base branch
from

Conversation

fstaudt
Copy link
Contributor

@fstaudt fstaudt commented Apr 23, 2025

Fixes #2164

@fstaudt
Copy link
Contributor Author

fstaudt commented Apr 23, 2025

Please find below results on my test project, as promised in #2164.

without jarEntriesCache

RAM usage with spring cloud 2023.0.3 and spring boot 3.3.8: +/- 1.2 Go
spring-cloud-contract-2164 - before jarEntriesCache

with jarEntriesCache

RAM usage with spring cloud 2024.0.1 and spring boot 3.4.4: +/- 2.8 Go
spring-cloud-contract-2164 - with jarEntriesCache png

with cleared jarEntriesCache

RAM usage with spring cloud 2024.0.1, spring boot 3.4.4 and spring-cloud-contract 4.2.2-SNAPSHOT: +/- 1.4 Go
spring-cloud-contract-2164 - cleared jarEntriesCache png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants