Hi
IS there any option to clear data cache?
If you meant clearing the WiredTiger cache, there is currently no method to clear it as of MongoDB 3.6.3 other than restarting the mongod process. For sufficiently large cache sizes, you may find that simply restarting the process may be faster than attempting to deallocate all the memory used by the cache.
Best regards
Kevin