[Tremor] running memory size is not predictable?

Monty xiphmont at xiph.org
Mon Oct 17 20:36:48 PDT 2005




On Mon, Oct 17, 2005 at 11:53:09AM -0700, win dam wrote:
> Hi All,
> 
> > > Is it possible to predict the maximum size of
> > running memory in tremor?
> > 
> > Not really.
> 
> FYI for the curious: 
> I converted a 44khz stereo wav file to an ogg file of
> quality 0 and quality 10.  The maximum amount of
> memory malloc'd for the quality 0 file is 74k.  The
> maximum amount of memory malloc'd for the quality 10
> file is 84k.
> A 22khz mono wav saved at quality 5 used about 70k.
> I was using the main tremor code.

This is approximately correct for main tremor.  The low-mem branch
will use as little as 20kB, however older Vorbis files can still
require as much as 70-80kB (the numbers for older vorbis files and
mainline tremor will be much larger).

Monty


More information about the Tremor mailing list