[Flightgear-devel] Memory leak fixes for random vegetation and buildings

2012-07-04 Thread Stuart Buchanan
Hi All, I've just pushed two fixes for possible memory leaks in random vegetation and buildings. One was noticed by valgrind, the other is speculative, to make use of osg::ref_ptrs where possible. At the same time, I've changed the random vegetation so that the normals are bound per-vertex rather

Re: [Flightgear-devel] Memory leak in latest sound code?

2011-12-07 Thread Durk Talsma
> > OK, this is fixed in simgear. I also adjusted the code to show the > message only once. > Thanks Erik! I'll give it a go tonight. d. -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper

Re: [Flightgear-devel] Memory leak in latest sound code?

2011-12-07 Thread Erik Hofman
On Tue, 2011-12-06 at 20:05 +0100, Durk Talsma wrote: > Hi All, > > Using the following command line options, I am seeing a dramatic increase in > memory consumption, in just a few seconds, up to the point where flightgear > becomes unusable (top reporting that flightgear uses more than 85% of m

Re: [Flightgear-devel] Memory leak in latest sound code?

2011-12-06 Thread Erik Hofman
On Tue, 6 Dec 2011 20:00:42 +0100 Durk Talsma wrote: > Hi All, > > Using the following command line options, I am seeing a dramatic increase in > memory consumption, in just a few seconds, up to the point where flightgear > becomes unusable (top reporting that flightgear uses more than 85% of

Re: [Flightgear-devel] Memory leak in latest sound code?

2011-12-06 Thread Curtis Olson
"Me too" with the f-14b as of today or very recently. On Tue, Dec 6, 2011 at 1:00 PM, Durk Talsma wrote: > Hi All, > > Using the following command line options, I am seeing a dramatic increase > in memory consumption, in just a few seconds, up to the point where > flightgear becomes unusable (top

[Flightgear-devel] Memory leak in latest sound code?

2011-12-06 Thread Durk Talsma
Hi All, Using the following command line options, I am seeing a dramatic increase in memory consumption, in just a few seconds, up to the point where flightgear becomes unusable (top reporting that flightgear uses more than 85% of memory on a 4 GiG linux box): fgfs --timeofday=dawn --airport=S

[Flightgear-devel] Memory leak in latest sound code?

2011-12-06 Thread Durk Talsma
Hi All, Using the following command line options, I am seeing a dramatic increase in memory consumption, in just a few seconds, up to the point where flightgear becomes unusable (top reporting that flightgear uses more than 85% of memory on a 4 GiG linux box): fgfs --timeofday=dawn --airport=S

Re: [Flightgear-devel] memory leak head branch

2008-01-17 Thread Stuart Buchanan
--- Tim Moore wrote: > Markus Zojer wrote: > | Hi everyone, > | > | A memory leak ran over me with fg + sg cvs/OSG 2.3.1 using SDL/osgviewer. > | > | It accumulates about 200mb/ 10 min, until your memory and swap is full, > | despite the 15mb/10min of the unleaked version. > | > | I narrowed the se

Re: [Flightgear-devel] memory leak head branch

2008-01-17 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus Zojer wrote: | Hi everyone, | | A memory leak ran over me with fg + sg cvs/OSG 2.3.1 using SDL/osgviewer. | | It accumulates about 200mb/ 10 min, until your memory and swap is full, | despite the 15mb/10min of the unleaked version. | | I narrowe

[Flightgear-devel] memory leak head branch

2008-01-16 Thread Markus Zojer
Hi everyone, A memory leak ran over me with fg + sg cvs/OSG 2.3.1 using SDL/osgviewer. It accumulates about 200mb/ 10 min, until your memory and swap is full, despite the 15mb/10min of the unleaked version. I narrowed the search: with fg + sg cvs from 5th of jan. there is no leak, while it is

Re: [Flightgear-devel] memory leak

2007-02-06 Thread Durk Talsma
John Denker wrote: > On 02/05/2007 07:55 PM, Durk Talsma wrote: > >> I've never seen any memory leaks that bad. >> > > > Could you please try it with the simulator /paused/? > > > A rather steady leak of 2 meg per minute is observed chez moi during pause, > no matter whether the aircraft i

Re: [Flightgear-devel] memory leak (was: bug roundup)

2007-02-06 Thread John Denker
On 02/05/2007 07:55 PM, Durk Talsma wrote: > I've never seen any memory leaks that bad. Could you please try it with the simulator /paused/? A rather steady leak of 2 meg per minute is observed chez moi during pause, no matter whether the aircraft is aloft or parked on the ground. Vastly less

[Flightgear-devel] memory leak

2007-01-07 Thread John Denker
My version of fgfs has a rather large memory leak. If I leave the thing parked after a flight, brakes on, simulator paused, it will gobble up about 3 gigabytes of virtual memory overnight. (In contrast, it's only a little over 500 meg after a few minutes of flight.) I'm running the version of fg

Re: [Flightgear-devel] Memory leak

2006-06-21 Thread dene maxwell
>From: Lee Elliott <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED],FlightGear developers discussions > >To: FlightGear developers discussions > >Subject: Re: [Flightgear-devel] Memory leak >Date: Wed, 21 Jun 2006 19:43:55 +0100 > >On Wednesday 21 June 2006 08:

Re: [Flightgear-devel] Memory leak

2006-06-21 Thread Lee Elliott
On Wednesday 21 June 2006 08:35, dene maxwell wrote: > >From: Torsten Dreyer <[EMAIL PROTECTED]> > >Reply-To: FlightGear developers discussions > > > >To: FlightGear developers discussions > > > >Subject: Re: [Flightgear-devel] Memory leak > >Date: W

Re: [Flightgear-devel] Memory leak

2006-06-21 Thread dene maxwell
>From: Torsten Dreyer <[EMAIL PROTECTED]> >Reply-To: FlightGear developers discussions > >To: FlightGear developers discussions > >Subject: Re: [Flightgear-devel] Memory leak >Date: Wed, 21 Jun 2006 08:58:31 +0200 > >If this is of any help - starting with

Re: [Flightgear-devel] Memory leak

2006-06-20 Thread Torsten Dreyer
If this is of any help - starting with the ufo on the ground and sitting there (no movement, controls untouched) the memory grows at a rate of approx. 50kB-100kB per second. Monitored for about a minute. .fgfsrc is blank and all rendering options unchecked, except "display framerate" This is on

Re: [Flightgear-devel] Memory leak

2006-06-20 Thread Lee Elliott
On Tuesday 20 June 2006 08:19, Vivian Meazza wrote: > Dave Perry > > > I have had lock-ups on longer X-C flights with the pa24-250 > > recently that could be from a memory leak. So I used the > > system monitor to check on VM growth. The only 2D pannel > > used in the pa24-250 is the radio stack

Re: [Flightgear-devel] Memory leak

2006-06-20 Thread dene maxwell
lt;[EMAIL PROTECTED]> >Reply-To: FlightGear developers discussions > >To: "'FlightGear developers discussions'" > >Subject: Re: [Flightgear-devel] Memory leak >Date: Tue, 20 Jun 2006 08:19:03 +0100 > > >Dave Perry > > > I have had lock-ups on

Re: [Flightgear-devel] Memory leak

2006-06-20 Thread Vivian Meazza
Dave Perry > I have had lock-ups on longer X-C flights with the pa24-250 recently > that could be from a memory leak. So I used the system monitor to check > on VM growth. The only 2D pannel used in the pa24-250 is the radio > stack. So I tried commenting out various components of the radio

Re: [Flightgear-devel] Memory leak

2006-06-19 Thread Dave Perry
I have had lock-ups on longer X-C flights with the pa24-250 recently that could be from a memory leak. So I used the system monitor to check on VM growth. The only 2D pannel used in the pa24-250 is the radio stack. So I tried commenting out various components of the radio stack in the file

Re: [Flightgear-devel] Memory leak

2006-06-19 Thread dene maxwell
It was suggested on IRC that I might like to do memory leak tests on 098a/Win Meresults; *Start***Finish* Plane: Time:Mem: Time: Mem: PA28-161 12:34NZST 548.4M13:03 558.4M Hunter 13:04NZST 543.4M13:35

Re: [Flightgear-devel] Memory leak

2006-06-19 Thread George Patterson
On Sun, 2006-06-18 at 16:44 +0100, Vivian Meazza wrote: > Lee Elliott wrote > > > > > On Saturday 17 June 2006 20:18, Vivian Meazza wrote: > > > Lee > > > > > > > On Saturday 17 June 2006 07:34, Melchior FRANZ wrote: > > > > > * Lee Elliott -- Saturday 17 June 2006 05:02: > > > > > > Is anyone

Re: [Flightgear-devel] Memory leak

2006-06-18 Thread Vivian Meazza
Lee Elliott wrote > > On Saturday 17 June 2006 20:18, Vivian Meazza wrote: > > Lee > > > > > On Saturday 17 June 2006 07:34, Melchior FRANZ wrote: > > > > * Lee Elliott -- Saturday 17 June 2006 05:02: > > > > > Is anyone else seeing a memory leak in current cvs? > > > > > > > > I would be surpris

Re: [Flightgear-devel] Memory leak

2006-06-17 Thread Lee Elliott
On Saturday 17 June 2006 20:18, Vivian Meazza wrote: > Lee > > > On Saturday 17 June 2006 07:34, Melchior FRANZ wrote: > > > * Lee Elliott -- Saturday 17 June 2006 05:02: > > > > Is anyone else seeing a memory leak in current cvs? > > > > > > I would be surprised if we had no leaks at all. But in a

Re: [Flightgear-devel] Memory leak

2006-06-17 Thread Melchior FRANZ
* Melchior FRANZ -- Saturday 17 June 2006 21:23: > The only recent change to the 2D panel was IIRC my patch to allow other > fonts than just Helvetica.txf and led.txf. I'll try to reproduce and > check if that's the cause, and fix it if so. Can't reproduce. You might want to try with that last cha

Re: [Flightgear-devel] Memory leak

2006-06-17 Thread Melchior FRANZ
* Vivian Meazza -- Saturday 17 June 2006 21:18: > I just left the KC135 running airborne - it chewed up VM and finally froze. > 2D panel as well. I'm not clear if this is the same phenomenon that you are > seeing, or if the 2D panel is significant. The only recent change to the 2D panel was IIRC m

Re: [Flightgear-devel] Memory leak

2006-06-17 Thread Vivian Meazza
Lee > > On Saturday 17 June 2006 07:34, Melchior FRANZ wrote: > > * Lee Elliott -- Saturday 17 June 2006 05:02: > > > Is anyone else seeing a memory leak in current cvs? > > > > I would be surprised if we had no leaks at all. But in a short > > test with $ fgfs --aircraft=ufo --airport=kufo ...

Re: [Flightgear-devel] Memory leak

2006-06-17 Thread Lee Elliott
On Saturday 17 June 2006 07:34, Melchior FRANZ wrote: > * Lee Elliott -- Saturday 17 June 2006 05:02: > > Is anyone else seeing a memory leak in current cvs? > > I would be surprised if we had no leaks at all. But in a short > test with $ fgfs --aircraft=ufo --airport=kufo ... i didn't > see anyt

Re: [Flightgear-devel] Memory leak

2006-06-16 Thread Melchior FRANZ
* Lee Elliott -- Saturday 17 June 2006 05:02: > Is anyone else seeing a memory leak in current cvs? I would be surprised if we had no leaks at all. But in a short test with $ fgfs --aircraft=ufo --airport=kufo ... i didn't see anything like you observed. The memory consumption was quite stable a

[Flightgear-devel] Memory leak

2006-06-16 Thread Lee Elliott
Hello all, Is anyone else seeing a memory leak in current cvs? After using all my real ram fg starts gobbling through VM at about 1 mb every 5 seconds or so, even when flying around the same area. LeeE ___ Flightgear-devel mailing list Flightgear-