Thanks for the insights @kowshik1729 .
When I was checking the edgeImpulse memory profiler, it only mentioned 19.1K RAM and I don't have any additional application running along with the inference program. It looks like something is wrong in the compilation.
I will try to check the memory status as you mentioned and get back, Thanks
f3cfbd23-d187-4aba-b67c-9e8c25142c99-image.png