Hello Ratikanta!
THere are few possiblities why RAM consumption was growing in your Spring Boot application:
a. Acute memory leak:
Your application could be suffering from acute memory leak (not aggressive enough to crash immediately), but slowly memory is leaking. In such circumstance you will see the GC behaviour to look like this:

This is a how GC behaviour will look for an healthy application. You can see memory goes down all the way to the bottom.

To learn more about these GC behvioural patterns visit this post: Garbage Collection Patterns to predict outages
b. Some other process consuming memory:
There could be some other process in the container/server is consuming memory. Say there could be a cron job or script consuming memory and it will also result in increas in RAM
c. Leak in Native Memory
There are multiple memory regions in the JVM as shown in this image below. It could be possible your Young Gen, Old Gen might be healthy, however there could be a leak in other memory regions. In such circumstance you need to do Native Memory Tracking.

Edit your Comment