John Denker wrote: ... > Alas after doing that, the memory bloat remains, as bad as ever. > I saw it peak at 905 megs at KASE before falling back to 888 megs. > > While were in the neighborhood: I did a fresh cvs update and the > symptoms are the same, so we can't blame it on non-authoritative > sources. > > All this is with OSG 2.7.7. Debian etch. > > On 01/28/2009 01:18 AM, Tim Moore wrote: > >>> I'm seeing about 10% less virtual memory usage with the current next branch >>> compared to the 1.9 release. > > Puzzling. I believe I've fixed this in CVS and my git next branch. The extra memory usage comes from putting all the trees into OpenGL display lists. The actual extra memory consumed is very graphics-hardware-and-driver-dependent, so some people were seeing improved performance and not much more memory usage, others were seeing a catastrophic memory blow-up.
The fix is to not put trees in display lists; there are just too many. I made some other changes to reduce the memory footprint of the trees as well. >>> How were you running flightgear (aircraft, starting location, etc.)? > > That's a sensible and relevant question. I observe problem to be > not particularly aircraft-sensitive (the default c172p will do) ... > but it is definitely location-sensitive. > KSFO ... 613 MB steady state > KASE ... 905 MB peak, 888 steady state Point of information: there are 2.6 million trees in the scene when starting at KASE. That is an insane number! It is impressive that the ShaderGeometry pseudo-instancing mechanism can handle this many models. > > > The bloat is 100% reproducible chez moi when there are no options > other than --airport. Sometimes "top" misses the peak, but the > steady state is bad enough. > > Similarly the lack of bloat is 100% reproducible with older versions. Give the new version a try please. Tim ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel