3

Our server has had some issues lately and we've been keeping our eye on the processes running.

One process taking up a lot of memory is using CUI.debug.js. I'm assuming it's used for debugging? What is this? Do we need it? How can I turn it off?

Thanks, Ninel

3
  • Which Process? Is this on a web front end?
    – James Love
    Commented Feb 17, 2012 at 16:49
  • This is our intranet and it is on SharePoint 2010.
    – ninel
    Commented Feb 17, 2012 at 18:42
  • What did you use to say that it was using a lot of memory, and what specifically is using the js file?
    – James Love
    Commented Feb 17, 2012 at 19:11

1 Answer 1

3

In the masterpage, look for the ScriptManager tag and set the ScriptMode attribute to Release to disable the loading of .debug.js files by the server to the clients.

http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.scriptmode.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.