Hello,

indeed there is no limit set in the code for AVPs, it depends of the available memory, but it is shared memory. AVPs are not stored in private memory because they have to become available for replies, which can be handled by different processes.

Shared memory can be specified with -m command line parameter.

Note also that with the latest version, the size of private memory can be specified with -M command line parameter, there is no need to recompile anymore.

For more see 'kamailio -h'.

Cheers,
Daniel

On 8/19/12 7:33 PM, Carlos Ruiz Díaz wrote:
I believe it is directly related to the amount of physical memory available for the process. Anyways, you can always delete the AVP after using it although this is automatically done after the transaction finishes.

Maybe increasing the maximum memory limit could help: http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:private-memory-size

Regards.

Carlos.

On Sun, Aug 19, 2012 at 7:25 AM, Uri Shacked <ushacked@gmail.com> wrote:
Hi,
 
I wonder, is there a limit for the amount of AVP's i can use?
Let's say i store 6-9 characters (string) each time i set an AVP.
 
Thanks,
Uri

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw