For publishers, neither lots of messages nor long time publishing will raise significant memory usage increase.
For subscriptions, lots of messages or long time publishing will raise a significant memory usage increase.
See the following tables:
| messages |
time |
publisher memory rising |
subscription memory rising |
| 10k |
about 100s |
0.29% |
0.27% |
| 100k |
about 1000s |
0.43% |
6.5% |
| 86389 (1s interval) |
24 hours |
0.15% |
15.51% |
Not sure if there is memory leak for the subscription.