Size of Global Memory

What is the max available bytes for all global shared memory in Asterisk? Is there a total size or is it max size per variable? max variables?


I don’t understand the question really. Asterisk doesn’t generally manage the memory itself. It allocates and frees as needed, and the GNU allocator takes care of it. There is no inherent maximum available inside of Asterisk that it decides on.

Why are you asking the question? What are you trying to do?

I store temp data in the global pool and use it for certain inter-channel communications. I was just wondering if there was some sort of overall limit or limit of variables or their size.

Are you referring to global dialplan variables? If so there’s no explicit maximum.

Yes, I’m sorry if that wasn’t clear.

dependen on how long data need to live and how often you need it
an alternativet is to use astDB as it is easyer to clean / view
but it depend on your usecase

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.