Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
    
Which Process? Is this on a web front end? –  James Love Feb 17 '12 at 16:49
    
This is our intranet and it is on SharePoint 2010. –  ninel Feb 17 '12 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 Feb 17 '12 at 19:11
add comment

1 Answer 1

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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