Hi @kumar-9444 ,
>>>If SQL server faces memory pressure whether it will use memory beyond 25GB or not?
No. By default, SQL Server can change its memory requirements dynamically based on available system resources. The instance then continues to acquire memory as needed to support the workload. As more users connect and run queries, SQL Server acquires the additional physical memory on demand. A SQL Server instance continues to acquire physical memory until it either reaches its max server memory allocation target or the OS indicates there is no longer an excess of free memory; it frees memory when it has more than the min server memory setting, and the OS indicates that there is a shortage of free memory. Refer to Dynamic Memory Management, Effects of min and max server memory.
If the response is helpful, please click "Accept Answer" and upvote it, thank you.