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

Memory leak in version 3.4.3 when using query dsl #2465

Closed
tlachy opened this issue Mar 5, 2025 · 1 comment
Closed

Memory leak in version 3.4.3 when using query dsl #2465

tlachy opened this issue Mar 5, 2025 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@tlachy
Copy link

tlachy commented Mar 5, 2025

1, clone the repo: https://github.com/tlachy/spring-data-querydsl-memory-leak
2, run the project in debug mode
3, go to: http://localhost:8080/swagger-ui/index.html#/person-entity-controller/postCollectionResource-person-post
4, create N new persons just by submitting N unique ids via swagger-ui
5, put debug point on RepositoryFactorySupport:529
6, observe that size of repositoryInformationCache will increase with every new person created. Cache grows infinitely.

Image

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 5, 2025
@mp911de mp911de added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 7, 2025
@mp911de
Copy link
Member

mp911de commented Mar 7, 2025

That's a duplicate of spring-projects/spring-data-commons#3252.

@mp911de mp911de closed this as completed Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants