'Micronaut application memory issue with httpcall
There was already an issue https://github.com/micronaut-projects/micronaut-core/issues/6623 related to the HTTP call for Micronaut application, which was closed and the suggested solution was to include
netty:
default:
allocator:
max-order: 1
I am using the latest Micornuat version 3.4.3, and the feature that are included in the project are
- MongoDB
- Swagger
- Open API
- JWT security
- Consul
- Zipkin
- Project-reactor
- JUnit-5
Running the application in native mode, the initial memory is 43.6 MB
Leaving the application Idea for some time and CURL the first HTTP call, the memory increase significantly
Second Http call
Again leaving the application idea for another 3 or 4 minutes and the third HTTP call
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|