[Audacity-nyquist] Re: leaky (?) xlisp
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Roger B. D. <rb...@cs...> - 2005-01-11 16:17:50
|
Dominic wrote: >>> To see if there are any leaks worth worrying about, compare the amount = of leaked memory after running one effect, and after running 10 Nyquist effects. <<< In particular, you should run the same computation 10 (or 100) times -- = if you run something that requires more memory, Nyquist will allocate it = and in many cases not free it but add the memory to its pool managed by the = garbage collector. The (STATS) call will tell you how much memory is allocated for sound = data, and the (INFO) call will tell you how much memory is allocated for Lisp cells (not counting strings, which are allocated and freed using = malloc()) and samples. A leak would cause Nyquist memory usage to increase by more than the amount reported in STATS and INFO. |