[asterisk-dev] Debugging memory use in Asterisk

Miguel Molina mmolina at millenium.com.co
Fri May 15 09:08:26 CDT 2009


Benny Amorsen escribió:
> I have an Asterisk which uses a lot of memory:
>  8161 asterisk  20   0 5170m 604m 1248 S  0.3 60.3 386:39.32 asterisk
>
> I would like to see what Asterisk actually uses the memory for. Is there
> a handy way to do that?
>
> Asterisk version is 1.6.1.0.
>
>   
You can compile asterisk with the MALLOC_DEBUG flag (you can activate it 
in the menuselect). This will enable the commands "memory show 
allocations [file]" and "memory show summary" in the CLI, that will show 
a detail of the memory usage.

Hope this helps.
> /Benny
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>   


-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
PBX: (+57 1)6500800 ext. 1201
Fax: (+57 1)6500816
Móvil: (+57)3138873587 




More information about the asterisk-dev mailing list