Re: [Flightgear-devel] Re: model accumulation

2006-02-27 Thread Mathias Fröhlich
On Sunday 26 February 2006 09:23, Melchior FRANZ wrote: > Could have been introduced recently with ssgSharedPtr<>. No! > Around > the time when we got random objects it was desirable not to have > thousand separate tree objects etc. in memory. So the > SGModelLib::load_model() function was introd

[Flightgear-devel] Re: model accumulation

2006-02-27 Thread Melchior FRANZ
* Melchior FRANZ -- Saturday 25 February 2006 23:08: > Is everyone aware that we *never* free model branches? They are > only accumulated until fgfs is exited. The flush1() function was meant to remove unused models from the map. It's functional, but not used. The comment suggests that it wouldn't

[Flightgear-devel] Re: model accumulation

2006-02-26 Thread Melchior FRANZ
* Curtis L. Olson -- Sunday 26 February 2006 07:13: > Melchior FRANZ wrote: > > Is everyone aware that we *never* free model branches? > The original design of the scenery pager would delete these objects. > What are you seeing that leads you to believe they aren't getting > deleted? It's ver