Our dialplan (extensions.conf and included files) contains 300 000 rows.If there is no calls and to execute asterisk -rx «dialplan reload» - everything is fine.But if there are several calls on the server and to reload dialplan, memory usage is growing.Sometimes it will decrease. But not always. Dialplan reloading several times a day for a week leads to the fact that the server finishes RAM (2G)

- you are misinterpreting whatever you used to measure memory usage - that is quite common - people often don't realise that Linux (and Windows) try and run with almost all memory in use, by keeping old copies of blocks from files in memory;

- you are getting fragmentation, and the memory usage will stabilise after a few reloads;

- there is a memory leak, and you will either have to follow the memory leak debugging procedure, or wait until someone who can debug it finds and fixes it.

Having the actual evidence would help to select which of the three applies here, as would knowing the size of the leak.