[alsa-devel] aplay - memory leak

Appalayagari Sreedhar sreecha01 at gmail.com
Fri Nov 4 14:01:41 CET 2011


Hi,

Please find my observation details below.

root at dm368-evm:/# free
              total         used         free       shared      buffers
  Mem:        76384        22876        53508            0         3436
 Swap:            0            0            0
Total:        76384        22876        53508


root at dm368-evm:/# aplay usr/share/sounds/alsa/Front_Left.wav
Playing WAVE 'usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit
Little Endian, Rate 48000 Hz, Mono

root at dm368-evm:/# free
              total         used         free       shared      buffers
  Mem:        76384        23416        52968            0         3476
 Swap:            0            0            0
Total:        76384        23416        52968

root at dm368-evm:/# aplay usr/share/sounds/alsa/Front_Center.wav

root at dm368-evm:/# free
              total         used         free       shared      buffers
  Mem:        76384        23560        52824            0         3480
 Swap:            0            0            0
Total:        76384        23560        52824

root at dm368-evm:/# aplay usr/share/sounds/alsa/Side_Right.wav

root at dm368-evm:/# free
              total         used         free       shared      buffers
  Mem:        76384        23692        52692            0         3484
 Swap:            0            0            0
Total:        76384        23692        52692

Thank you,
Sreedhar.

On 11/4/11, Appalayagari Sreedhar <sreecha01 at gmail.com> wrote:
> Hi,
>
> I am working with DM368 based custom board. we have external codec
> interfaced to McBSP.
> when we run aplay command i am observing memory leak.
>
> the leak is around 12k everytime i do aplay. if i get any underruns
> the leak is more than 12k
>
> the kernel version i am working is "Linux-2.6.32.17-davinci1".
>
> The codec driver is in alsa model.
> Could you please help to resolve this problem.
>
> Thanks in advance,
> Sreedhar.
>


More information about the Alsa-devel mailing list