I just tested setting _NO_DEBUG_HEAP=1 as a debugging environment flag for the ParaView target, and it launches immediately. <br><br><div class="gmail_quote">On Tue, Apr 19, 2011 at 8:30 AM, Biddiscombe, John A. <span dir="ltr">&lt;<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Robert</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I believe I’ve located a fix.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">in startup project add Environment setting</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">_NO_DEBUG_HEAP=1</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">which should give the same speed as starting without the debugger then attaching afterwards. Fingers crossed.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I’m just waiting for a rebuild (unrelated) to try it out</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">JB</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Robert Maynard [mailto:<a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a>]
<br>
<b>Sent:</b> 19 April 2011 14:08<br>
<b>To:</b> Biddiscombe, John A.<br>
<b>Cc:</b> <a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview-developers] slowness getting even slower</span></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi John,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The collaboration changes have increased the usage of STL inside the ParaView codebase. Because of this you will see a slow down while debugging under Windows as debugging the STL is very slow. I would recommend
 that you launch ParaView outside of Visual Studio and than attach the debugger to the running process.</p>
<div>
<p class="MsoNormal">On Tue, Apr 19, 2011 at 6:07 AM, Biddiscombe, John A. &lt;<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>&gt; wrote:</p>
<p class="MsoNormal">I did a git update this morning to get the new processmodule changes (first time in a month or so).<br>
<br>
When running paraview inside the visual studio debugger, it takes over a minute to launch. Plugins add ten seconds or more each.<br>
<br>
Without the debugger attached, it loads in 3 seconds.<br>
<br>
I notice also that all plugins are actually loaded twice. I&#39;m trying to debug that now because I get two of every dock window/panel etc.<br>
<br>
(I have previously recomiled using the various _HAS_ITERATOR_DEBUGGING settings, but they make no difference.)<br>
<br>
I have no idea what&#39;s going on, but I welcome any suggestions.<br>
<br>
JB<br>
<br>
<br>
--<br>
John Biddiscombe,                            email:biddisco @ <a href="http://cscs.ch" target="_blank">
cscs.ch</a><br>
<a href="http://www.cscs.ch/" target="_blank">http://www.cscs.ch/</a><br>
CSCS, Swiss National Supercomputing Centre  | Tel:  <a href="tel:%2B41%20%2891%29%20610.82.07" target="_blank">
+41 (91) 610.82.07</a><br>
Via Cantonale, 6928 Manno, Switzerland      | Fax:  <a href="tel:%2B41%20%2891%29%20610.82.82" target="_blank">
+41 (91) 610.82.82</a><br>
<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Robert Maynard</p>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>