Hi,
When I use mongodb-driver-core 4.6.1 in the springboot application and ReactiveMongoTemplate is used to access the Mongo database, Out of memory Java Heap Space appears in the production environment. After exporting the dump file, use the MAT tool to analyze the file, as shown in the following figure.
It’s similar to the following problem:
I’d like to know if this is a bug in AsyncWorkManager or if the springboot application needs to control the number of queues by itself. Is there a recommended configuration?
Please help me. Thank you very much.