Hi, I was noticed that FG hangs and than crashes if pressing "z" key. If visibility value is not controlled by user, it can be occasionally **increased to a huge value (>1000 km). In this case TileLoader is trying to load hundreds of tiles. At the beginning I was expected a number of tiles to be limited by the size of TileCache (100), but I was mistaken. Size of TileCache is growing in routine FGTileMgr::schedule_needed( ... ) to make space for all tiles.
On my PC when /environment/visibility-m > 500-1000km memory usage grows from 300M up to 3G an this leads to crash. Can somebody limit the value in property /environment/visibility-m or the value of variable "vis" in FGTileMgr::schedule_needed( ... ). The maximum value of 100km will be acceptable IMHO. With respect, Alex ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) 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/devconference _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel