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 :
https://jira.secondlife.com/browse/OPEN-37

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

 

From: opensource-dev-boun...@lists.secondlife.com
[mailto:opensource-dev-boun...@lists.secondlife.com] On Behalf Of Jonathan
Welch
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:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting
privileges 

  _____  

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

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to