Gale Andrews wrote:Open Nyquist Prompt and paste your snippet. Audacity is using 24.2 MB of RAM.
That's a lot lower than my machine. I'm seeing 125 MiB
Gale Andrews wrote:Select 15 minutes in a 1 hour mono sine tone 44100 Hz.
OK, so that's about 159 MB of data
Gale Andrews wrote:Open Nyquist Prompt and paste your snippet. Audacity is using 24.2 MB of RAM.
Apply the snippet. By the time I get the dialogue for the returned value, Audacity is using 186.7 MB.
So that's about right for Audacity + 15 minutes of audio.
Gale Andrews wrote:OK the dialogue. Audacity RAM use is now 186.6 MB.
On my machine, the memory is then released back down to 139 MiB.
Gale Andrews wrote:Create new empty track and generate noise into the selection in that track. Open Nyquist Prompt. Audacity memory use still 186.6 MB. Apply the snippet. When the returned dialogue appears, RAM use is 190.8 MB. After OK'ing the dialogue, RAM use is still 190.8 MB.
So there's not actually a memory leak. The memory is being managed and reused, but it seems that Ubuntu is reserving that used memory after "OK" rather than releasing it. It could be worth minimizing Audacity at that point and doing something else for an hour or two, then looking to see if the memory is eventually released.
I don't see that we can draw much in the way of meaningful conclusions, other than that memory management is different in Ubuntu 64-bit to Debian 32-bit.