Hello Ramesh!
Good question. I don't have a direct answer, however here are some of my thoughts:
1. Simulate the Problem in Linux Environment: You can simulate the problem in Linux Environment and then use the async-profiler.
2. OutOfMemoryError: Are you experieincing 'OutOfMemoryError: Direct buffer memory', if so you can follow the steps outlined in this post: Java OutOfMemoryError: Direct buffer memory
3. Switching from Spring RestTemplate to WebClient: Spring Boot is a popular framework for Java enterprise applications. One common method of integration with internal or external applications is through RestTemplate APIs. Modern versions of Spring advocate to use Java NIO-based WebClient for better performance. While NIO based Webclient delivers better performance, it shifts the objects creation from the heap memory region to the Direct Buffer region. Thus when you make this shift, it will result in memory pressures in the Direct Buffer region. Did you make any such upgrades/shifts recently?
Edit your Comment