[opensource-dev] autobuild+vs2010 memory trouble

WolfPup Lowenhar wolfpup67 at earthlink.net
Tue Mar 1 06:13:53 PST 2011

You have just hit the issue I have been working on for the past week and a
half I found that if you totally remove the /Zm1000 setting you should not
have that issue. This is being cause by Cmake wanting to set the /Zm setting
I have filed a bug Report With Kitware concerning this. See :

My last comment there has a link to the issue and the issue has a work
around in it.


From: opensource-dev-bounces at lists.secondlife.com
[mailto:opensource-dev-bounces at lists.secondlife.com] On Behalf Of Jonathan
Sent: Tuesday, March 01, 2011 8:53 AM
To: OpenSource Mailing List
Subject: [opensource-dev] autobuild+vs2010 memory trouble


Yesterday I got to the point of being able to start a compile with
autobuild+vs2010 on my XP system with 3Gb of memory.  After about 90
minutes it died with the usual heap overflow message.  Today I edited
a file in the Cmake 2.8 directory and changed Zm1000 to Zm400 which
got me much further along.  About an hour in I saw I was about to run
out of memory and for the next hour was paging heavily.  I must have
run out of page file when it was working on llvlmanager.
I was left with 3 instances of cl.exe, 2 using a lot of memory and 1
using hardly any (I only have 2 cores so do not understand why I had 3
cl.exe running).  Once I killed those off it took about 4 minutes for
my page file to stop being accessed.

After yesterday's failure I tried again and all the files in the build
that had compiled successfully were being compiled again.

Some design changes need to be made here
1) Compile projects in much smaller chunks
2) Do not recompile files that have already been compile (I would like
someone to verify this)

My normal compile time has been a little over 1hr.
Policies and (un)subscribe information available here:
Please read the policies before posting to keep unmoderated posting


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3475 - Release Date: 03/01/11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110301/597f4c03/attachment.htm 

More information about the opensource-dev mailing list