Thanks, @stephanie_m for the response.
I think the issue is not because if NxpNfcRdLib As if trying to build a program using only application code.
Let me tell you something about my project first it was one project. Which works fine and it uses utilizes SRAM 3180bytes as shown in the image.

Now I want to create an application project which is built on my project. So this can be achieved if I create a static library of the project. Now I have two projects one is lib and another is application. Now the first step would be to create static lib of my project and call API from the application project as required. But this increases size SRAM size by 5kb. Code size is not the issue here. Please look at the attached image below.

I have attached a partial build log of the lib project. Where heap_2.o contains a very large portion of bss. Other files(which are removed from a text file) does not contain much of the bss.
I think heap_2.c is using 5kb of SRAM what could be the reason?