Hi @Gangadhar_M,
Are you certain that the version of the instance you are currently using is correct? In my case, it is functioning properly. I am using MongoDB of version 6.0.9.
There are different issues in different ENVs for this issue. I am putting down things clear here.
In my Test server (linux, Ubuntu 20.04.4 LTS), we are able to set the parameter, but i don’t see any clearing of memory happening. mongo db version here is 6.0.0 community edition. Here Replication in enabled with Primary and a single Secondary(with priority 0).
in my local macOS (12.1), am getting following error. and no replication enabled in local. mongo version here is , 6.0.1 communitty ediition **MongoServerError**: attempted to set unrecognized parameter [tcmallocReleaseRate], use help:true to see options