I am working on performance tuning for a Sitecore website. My current task is to disable memory monitor hook. For this, I am referring to Sitecore's tuning guide which can be found here. Now, according to the section 7.3.3, in order to disable memory monitor, I need to comment out specific lines in web.config.
However, I was wondering if there is a better way to do this? I know for changing the 'Setting', we would do it by providing a patch file. I was wondering if I could do the same here without directly changing the web.config file or is that the only option for me in this particular case.
Please let me know. Thanks!