[asterisk-bugs] [Asterisk 0014636]: memory leak in "strings.c"

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 27 15:05:23 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14636 
====================================================================== 
Reported By:                pj
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14636
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 180373 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-10 05:59 CDT
Last Modified:              2009-03-27 15:05 CDT
====================================================================== 
Summary:                    memory leak in "strings.c"
Description: 
memory allocations for strings.c continuously growing, 
after 4 days uptime and small amout of call processed,
my asterisk eats 120MB of RAM.

mmlog is empty

*CLI> core show calls uptime
0 active calls
320 calls processed
System uptime: 4 days, 15 hours, 32 minutes, 58 seconds


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014680 unfreed memory in try_calling
====================================================================== 

---------------------------------------------------------------------- 
 (0102314) pj (reporter) - 2009-03-27 15:05
 http://bugs.digium.com/view.php?id=14636#c102314 
---------------------------------------------------------------------- 
another statistics - memory7.zip
after about 400 calls processed, my asterisk eats almost 100MB of RAM, so
I have really suspicion, that asterisk has still memory leak, because this
huge memory consuption doesn't happened before.

0 active calls
393 calls processed
System uptime: 3 days, 21 hours, 50 minutes, 27 seconds

root     29900  0.0  0.0   3984    88 pts/2    S    Mar23   0:00 /bin/sh
/etc/init.d/asterisk start
asterisk 29905  2.4 12.2  98048 15276 pts/2    Sl   Mar23 140:26  \_
asterisk -vvv -c 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-27 15:05 pj             Note Added: 0102314                          
======================================================================




More information about the asterisk-bugs mailing list