<div dir="ltr">Thanks for looking into this Brad.<div><br></div><div><br></div><div>Regards</div><div>   Andrew</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 12:51 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 07/08/2014 03:38 AM, Andrew Maclean wrote:<br>
> I downloaded the most recent version of CMake  in the master and built is with VS 12 2013 64bit.<br>
> I ran the debug version on the Wikiexamples and it consumed over 4GB of memory.<br>
> It seemed to run to completion after about 4h<br>
<br>
AFAICT this is the same problem discussed in a thread on the<br>
cmake-developers mailing list:<br>
<br>
 cost of usage requirements<br>
 <a href="http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10283" target="_blank">http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10283</a><br>
<br>
The VTKWikiExamples from<br>
<br>
 <a href="https://www.gitorious.org/vtkwikiexamples/wikiexamples" target="_blank">https://www.gitorious.org/vtkwikiexamples/wikiexamples</a><br>
<br>
creates a large number of individual executables that each link<br>
to lots of VTK libraries with deep dependency chains.  That is<br>
about the worst case for the performance problem discussed in<br>
the above-linked thread.  In addition to doing a lot of work<br>
to propagate context-dependent usage requirements (and in this<br>
case decided to do nothing), CMake is allocating a huge amount<br>
of memory.<br>
<br>
I will post back to the thread over there to link this case as<br>
another example of the problem so discussion can proceed there.<br>
<br>
On 07/04/2014 03:50 AM, Andrew Maclean wrote:<br>
> There is no problem with the last version of CMake 2.8.<br>
<br>
What version of 2.8 did you last use?  I see the same problem with<br>
2.8.12, but not as extreme.  3.0 has added more usage requirement<br>
features and thus takes longer.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Brad<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div>