[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] A question of memory

From: Paul Millar
Subject: [fluid-dev] A question of memory
Date: Tue, 21 Nov 2006 19:45:57 +0000
User-agent: KMail/1.9.5

Hi all,

I've written (what I hope is) a minimal, functioning test code for running 
fluidsynth, linking against libfluidsynth.  Its available from:


Running this test test through valgrind's memcheck tool is quite interesting:

Valgrind reports that the alsa driver is calling libasound with some 
uninitialised bytes in a few places.

Also, after calling delete_fluid_* functions, there's still some 33 MB of 
memory in use when the program terminates.

I'm loading a 30 MB SoundFont file, so I'm guessing that delete_fluid_synth() 
doesn't free memory allocated by fluid_synth_sfload().  There's lots of other 
wee bits of leaked memory here and there (strdup()s, etc...).

The output from valgrind is available from:

But, I hope the test-case above is pretty easy to check this.



Attachment: pgpolFvVeT5l8.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]