[asterisk-bugs] [Asterisk 0019181]: (not so)large astDB key values cause asterisk to take up a lot of memory

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 26 04:46:56 CDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19181 
====================================================================== 
Reported By:                jacco
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19181
Category:                   Applications/app_db
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.3.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-26 04:46 CDT
Last Modified:              2011-04-26 04:46 CDT
====================================================================== 
Summary:                    (not so)large astDB key values cause asterisk to
take up a lot of memory
Description: 
I've been testing astDB limits in combination with asterisk.

a simple dialplan :
exten = _X.,n(waiting),Set(DB(test/testing)=${DB(test/testing)}a)
exten = _X.,n,goto(waiting)

made the value length grow up to max. 4096bytes causing asterisk to take
up 84% memory on a machine with 4gb ram

also in one of the test a whitespace came out of nowhere:
http://pastebin.com/gpbpcjzR
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-26 04:46 jacco          New Issue                                    
2011-04-26 04:46 jacco          Asterisk Version          => 1.8.3.3         
2011-04-26 04:46 jacco          Regression                => No              
2011-04-26 04:46 jacco          SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list