spring-data-opensearch icon indicating copy to clipboard operation
spring-data-opensearch copied to clipboard

[BUG] OpenSearchRestTemplate increases the usage of non-heap memory

Open lopiter opened this issue 2 years ago • 2 comments

What is the bug?

I am using OpenSearchRestTemplate with a Kotlin + Spring combination. I'm passing a class as the second parameter to search, and it seems to increase the usage of non-heap memory.

How can one reproduce the bug?

While operating the service for a long time, I've noticed that extensive use of search queries leads to an increase in the non-heap memory area

What is the expected behavior?

I think it's necessary to ensure that the non-heap memory does not increase

What is your host/environment?

linux / org.springframework.boot ( 3.1.2)

Do you have any screenshots?

If applicable, add screenshots to help explain your problem.

Do you have any additional context?

Add any other context about the problem.

lopiter avatar Dec 14 '23 11:12 lopiter

@lopiter Do you have a simple(r) repro? Some code that shows the problem?

dblock avatar Dec 15 '23 15:12 dblock

While operating the service for a long time, I've noticed that extensive use of search queries leads to an increase in the non-heap memory area

How do you measure that? Could you share JVM NMT summary? Thank you

reta avatar Dec 17 '23 17:12 reta

No details from the user, closing this one

reta avatar May 08 '24 19:05 reta