[asterisk-bugs] [JIRA] (ASTERISK-19612) Asterisk crash with compiler flag LOW_MEMORY

Olle Johansson (JIRA) noreply at issues.asterisk.org
Thu May 2 07:26:38 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206087#comment-206087 ] 

Olle Johansson commented on ASTERISK-19612:
-------------------------------------------

Looking at the code I see that we allocate 256 structures for the payload handling, and in most call only use a handful. There has to be a way to make this more optimized to save memory. We should possibly only allocate this for calls that actually change the default payload format and then only allocate the changes.
                
> Asterisk crash with compiler flag LOW_MEMORY
> --------------------------------------------
>
>                 Key: ASTERISK-19612
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19612
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 10.2.1
>            Reporter: Jean-Denis Girard
>            Severity: Minor
>         Attachments: low_mem.txt
>
>
> When using compiler flag LOW_MEMORY, asterisk-10 crashes as soon as an SIP call is made. I discovered that initially with asterisk-10.2.1, but same with 10.3.0, and I also tried 10.0.0-beta1. Verified on 2 completely different environments: Mandriva-2010.2 32 bits, and Fedora 16 64 bits. I'm running Asterisk on a Alix board, so low memory is preferred.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list