IIS runs out of memory while processing LESS files
<p>After deploying an MVC application to the production server, this is the error I'm seeing when run locally:</p>

<pre><code>During translation of LESS-code, readed from the file '/Content/bootstrap/bootstrap.less', to CSS-code syntax error has occurred.  See more details:

Error type: Syntax Message: Out of stack space File: /Content/bootstrap/mixins/labels.less

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: BundleTransformer.Core.Translators.AssetTranslationException: During translation of LESS-code, readed from the file '/Content/bootstrap/bootstrap.less', to CSS-code syntax error has occurred.  See more details:

Error type: Syntax
Message: Out of stack space
File: /Content/bootstrap/mixins/labels.less

Source Error:     

Line 6:      &lt;title&gt;&lt;/title&gt; 
Line 7:      &lt;meta name="description"&gt; content="APPLICATION_NAME" /&gt; 
Line 8:      @Styles.Render("~/bundles/css") 
Line 9:      @Scripts.Render("~/bundles/modernizr") 
Line 10:     &lt;link&gt; rel="stylesheet" href="/Content/CSS/alertify.core.css"&gt;
</code></pre>

<p>This all works fine on other servers.</p>

<blockquote>
  <p>NOTE: It may be worth mentioning that the server with the problem only
  has 8GB of RAM and there is another web application and a SQL database
  running on it. This is my top suspect but I would like other opinions
  if possible.</p>
</blockquote>

<p>I have tried adding</p>

<pre><code>BundleTable.EnableOptimizations = false;
</code></pre>

<p>to the <code>App_Start.RegisterBundles</code> class but this made no difference.</p>

<p>Someone has suggested I convert all the LESS to CSS, but this is using standard Bootstrap so there are a lot of files to go through!</p>