Hi Cullam,

Curtis Olson wrote:
> Just a real quick reply here ... there is some code setup so the 
> process will kill itself if it runs longer than some period or 
> consumes too much memory.  This was setup because some data cases 
> would blow up and lead to infinite loops and infinite memory expansion 
> (within some of our external libraries.)
>
> You may want to eliminate this code or expand the thresholds.
I ran into the same issue when building my France scenery. The code that 
Curt mentioned is in terragear-cs/src/BuildTiles/Main/main.cxx, search 
for "setrlimit" and modify the maximum CPU time allowed to the process.

As a less "hackish" solution, you might want to try the client-server 
architecture of terragear which doesn't run into this problem (a new 
process is respawned for each tile). A basic how-to can be found in 
section 4 of this page:
http://www.terragear.org/docs/scenery-tutorial/fg-scenery-tutorial.html

The client/server architecture brings you the additional benefit that 
you can get a speed-up on multicore machines by running one client per 
CPU core.

hope this helps
Maxime


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to