I changed size of memory pool which can be used for allocation. I increased it from 16MB to 64MB. This means that pulseaudio now can use more RAM. ....... In this last version I change slot allocation policy to upstream configuration, so we have more slots, enough slot size for network streaming but also pulseaudio can drain more RAM...
pa_mempool* pa_mempool_new(pa_bool_t shared, size_t size) { pa_mempool *p; if (size <= 0) p->n_blocks = PA_MEMPOOL_SLOTS_MAX;